Wednesday, July 8, 2009

Gradient Background

This is only for microsoft IE browsers - good tip for captured audience intranets.

body style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#C0CFE2', startColorstr='#FFFFFF', gradientType='0');"


For other browsers, best to create a 5 pixel wide by 800 height file using PhotoShop then the gradient tool - save as a gif or jpeg and use in css like this:

{
background-image:url(images/jjgradient.gif);
background-repeat:repeat-x;
background-position: top;

}

No comments:

Post a Comment