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:

<head>
...
<style>
tr.red {color: red}
</style>
...
</head>

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

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.

Thanks
Received on Monday, 29 May 2000 14:20:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:04 GMT