Sunday, December 03, 2006

Site Development

Site Development, Dreamweaver Training, Newsletters, HTML Emails - Certified

a nice example of a shaded background by Murray in my usenet mail:-

Look at my site - http://www.great-web-sights.com - and note how the
background is a fading blue horizontal stripe. It eventually fades to a
solid very light blue. Here is my CSS -


body {
background: url(newimages/page_bkg.jpg) #edf2f8 repeat-x;
margin: 7px 0px;
color: #000;
text-align: center
}

This rule says to make the body color #EDF2F8 (that's the light blue). It also says to use a background image -
http://www.great-web-sights.com/newimages/page_bkg.jpg - and to tile it
horizontally across the page. The color of the background happens to be the
same as the ending color of the gradient on the image.

more examples
Great Web Sights' Client Portfolio

0 Comments:

Post a Comment

<< Home