In this section we'll look at setting the colors of table borders. First we'll look at setting the borders to a single color. In the next page we'll look at setting the light and dark shades of the border.
The color of the table borders as a whole is set with the
BORDERCOLOR<TABLE ...>
| this code | produces this | ||||
<TABLE border="1" bordercolor="#CBD3E1" bgcolor="#F1F4F5" BORDERCOLOR=RED> <TR> <TD>carrots</TD> <TD>garlic</TD> </TR> <TR> <TD>celery</TD> <TD>onions</TD> </TR> </TABLE> |
|
Netscape and MSIE have very different ways of rendering BORDERCOLOR
| Browser | How The Table Appears |
|---|---|
| MSIE | ![]() |
| Netscape | ![]() |
Table Borders: Light and Dark >>>