Helpful Information
 
 
Category: CSS Help
N4 & CSS TD borders

I've tried to display a colored border around each cell in a table from a linked CSS. Works great in IE5 but N4 won't display the border even though it displays all other attributes(incl.ngnd image)of the class in the TD tag. Couldn't find this on the N4 buglist. Appreciate most any input.

I'm not certain how to do it the way you are trying, but here is something you can try:

<UL TYPE=SQUARE>
<LI>Set your CELLSPACING to the size of the borders.
<LI>Ensure all your TDs have a BGCOLOR specified.
<LI>Enclose this table in another one that has a BGCOLOR specified to the color you wish to use for the border.
</UL>

Thanks for the suggestion. However, I did find a note that the border element is not recognized by tables or cells in NS4 @ (http://www.blooberry.com/indexdot/css/properties/border/border.htm).
My biggest headaches are from trying make a consistent representation between IE and NS.

My pleasure. Since the CSS property is not supported, I would probably recommend using the work-around I listed.

As for the headache, I share it too and I'm sure it's safe to say it's a universal sentiment. http://www.devshed.com/Talk/Forums/smile.gif










privacy (GDPR)