Attributes for <TR ...>
BORDERCOLOR = color expression
BORDERCOLORDARK = color expression
BORDERCOLORLIGHT = color expression

BORDERCOLOR, BORDERCOLORLIGHT, and BORDERCOLORDARK work just like their corresponding attributes in the <TABLE ...> tag. One important difference is that they only set the colors of the inside borders. These attributes are only recognized by MSIE.

So, for example, the following code sets the bordercolors of the first row to red in this table:

<TR BORDERCOLOR=RED>

which gives us

fruit state
watermelon Georgia
apples Washington

The following code sets the dark borders to fuchsia and the light borders to lime in the first row:

<TR BORDERCOLORDARK=FUCHSIA BORDERCOLORLIGHT=LIME>

which gives us

fruit state
watermelon Georgia
apples Washington

One of the nifty effects you can do with BORDERCOLOR is to set the colors to white so that the cells don't appear sunk in, but they still have words in them:

<TR BORDERCOLOR=WHITE>

which gives us this table

fruit state
watermelon Georgia
apples Washington





About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.