W3C home > Mailing lists > Public > www-style@w3.org > May 2000

Syle Sheets, Tables and Netscape Communicator

From: Lars <Lars_Reith@bigfoot.de>
Date: Wed, 22 Mar 2000 22:12:36 +0100
Message-ID: <000b01bf9443$5946e000$0400a8c0@lars>
To: <www-style@w3.org>
I have a really annoying problem:

I want to use style sheets to make life easier when it comes to formatting contents of a table. So, for example, I want to use the "color" attribute in a <tr> tag to give any content in this row the same color. This would look like this:

tr.red {color: red}

<table><tr class="tr.red"><td>content</td><td>more content</td></tr></table>

Watching this page with Internet Explorer, you would see the table content visualized in red color. However, Netscape Communicator seems to
just ignore any style sheet settings inside of a <td> tag. So you could change the color to red in every <td> tag, but that is not what style sheets are supposed for.
Maybe some have dealed with this problem and able to help.

Received on Monday, 29 May 2000 14:20:26 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:54 UTC