Create a Gradient Background Effect
by sabitha[ Edit ] 2010-09-17 14:07:32
A gradient background effect will display your selected HTML background colors in ascending or descending color variations - from lightest to darkest or darkest to lightest.
This powerful HTML code effect can be used to give your web pages a unique look and feel. However, it must be used very cautiously.
Please ensure that you select your HTML web page background colors very carefully, as your text must be clearly visible through the background colors you select.
In addition, you must select one light color and another color that is several shades lighter in order for this HTML gradient background effect to display properly.
This effect can be used for your entire web page background, or within your table cells.
To use the gradient effect as your web page background, use the following BODY tag:
To use the gradient effect within your HTML tables, place the following code within your table tag:
style="filter
rogid
XImageTransform.Microsoft.Gradient(endColorstr='#C0CFE2', startColorstr='#FFFFFF', gradientType='0');"
Although you can edit the gradient colors indicated in red, keep in mind, in order for the gradient effect to display properly, you must select one light color and another color that is several shades lighter.