1 Hour SEO : Domain Registration Bank : Ecommerce Dictionary : GoDefy : Great Web Design Tips
JavaScript 2 : Jumbo Keyword : Marketing Tips Store : Michael Wong Blog : Mike's Marketing Tools
Search Engines 2 : SEO eBook : Text Links Ads : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML > Tables > Table Border Colors

Table Borders: All Three Border Color Attributes At Once

Netscape and MSIE both recognize BORDERCOLOR, but currently only MSIE recognizes BORDERCOLORLIGHT and BORDERCOLORDARK. However, you can use all three at once because MSIE ignores BORDERCOLORLIGHT and BORDERCOLORDARK if it finds BORDERCOLOR. You can use this feature to get a little more control over the border colors than if you use just one or two of those attributes.

For example, this code says that the overall border color is blue, but also specifies that the light portion is a light blue and the dark portion is regular blue:

<TABLE border="1" bordercolor="#CBD3E1" bgcolor="#F1F4F5"
BORDERCOLOR="#0000FF"
BORDERCOLORLIGHT="#33CCFF" BORDERCOLORDARK="#0000CC"
>
<TR> <TD>bordercolor</TD> <TD>bordercolorlight</TD> </TR>
<TR> <TD>bordercolordark</TD> <TD>bordercolor again</TD> </TR>
</TABLE>

which gives us this table

bordercolorbordercolorlight
bordercolordarkbordercolor again

Table Background Colors and Images >>>

          

Copyright © 2002-10 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com