"Mr. Clean" <mrclean@p&g.com> wrote:
Quote:
Apparently Mozilla/Firefox doesn't support the bordercolor attribute of
the table tag. |
There's no such attribute in HTML.
Quote:
Here's what I do that works in IE:
table border="1" cellpadding="2" cellspacing="0" width="380"
bordercolor="#CB0017" |
Yeah, IE supports a lot of stuff that isn't HTML.
Quote:
Now, if I add this to my CSS:
TABLE.standings { border: 1px solid #CB0017; }
and rewrite my HTML like this:
table border="o" cellpadding="2" cellspacing="0" width="380"
class="standings" |
Did you mean to set your border to 'o', or did you mean '0'?
Quote:
There are no lines between the cells only around the edge of the table. |
Of course. Your stylesheet sets a border around the table not around
the cells.
Quote:
How would I make the CSS mimic usage of the bordercolor attribute in IE? |
TABLE.standings td, TABLE.standings th { border: 1px solid #CB0017; }
You may need to play with border-collapse as well. Check the CSS spec
for details.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <steve (AT) pugh (DOT) net> <http://steve.pugh.net/>