<TABLE ...><TABLE ...>BORDERCOLOR =color expressionBORDERCOLORDARK =color expressionBORDERCOLORLIGHT =color expression
| Usage Recommendation |
|---|
| Use it, but don't rely on it. |
BORDERCOLORBORDERCOLORLIGHTBORDERCOLORDARKBORDERCOLORBORDERCOLORLIGHTBORDERCOLORDARK
BORDERCOLOR
<TABLE BORDER=10 BORDERCOLOR=RED>
which gives us this table:
| blah blah | yeah yeah |
| whatever | right on! |
note that none of these attributes work unless you set the border size with
BORDER
MSIE and Netscape render border colors quite differently. MSIE sets all the borders to the indicated color. Netscape gives the table a 3-D appearance by setting the left and top borders to a lighter shade than the bottom and right borders. Here's a comparison of the renderings:
| Browser | How The Table Appears |
|---|---|
| MSIE | ![]() |
| Netscape | ![]() |
BORDERCOLORLIGHTBORDERCOLORDARK
<TABLE BORDER=10 BORDERCOLORLIGHT=PURPLE BORDERCOLORDARK=GREEN>
which gives us this table:
| blah blah | yeah yeah |
| whatever | right on! |
If you use BORDERCOLORLIGHTBORDERCOLORDARKBORDERCOLORBORDERCOLORBORDERCOLORBORDERCOLORLIGHTBORDERCOLOR
<TABLE BORDER=10 BORDERCOLOR=BLUE BORDERCOLORLIGHT=BLUE BORDERCOLORDARK=#000099>
which gives us
| blah blah | yeah yeah |
| whatever | right on! |