Text Links Ads : Marketing Tips Store : Search Engine Optimization Strategies
WebPosition Gold Pro : Domain Registration Bank : Optilink Software : GoDefy
Mike's Marketing Tools : Mike's Ecommerce Software : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML Codes > 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-8 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com