FW: FW: Syle Sheets, Tables and Netscape Communicator

I think I see your problem.  You are using class"tr.red" when it should just
be "red".  

I think you wanted this instead of what you wrote:

<html>
<head>
        <title>Title</title>
<style>
tr.red {background-color: red}
</style>
</head>

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

--
Zoltan Hawryluk - ZH13, zoltan@attcanada.ca.
WebMaster, AT&T Canada IES. 416-341-5717
"If you want to be Chinese .. you have to eat the nasty stuff."  

> -----Original Message-----
> From: Zoltan Hawryluk [mailto:zoltan@pandora.senecac.on.ca] 
> Sent: Monday, May 29, 2000 6:22 PM
> To: Zoltan Hawryluk
> Subject: Re: FW: Syle Sheets, Tables and Netscape Communicator
> 
> 
> > 
> >  
> > 
> > -----Original Message-----
> > From: www-style-request@w3.org 
> [mailto:www-style-request@w3.org] On Behalf
> > Of Lars
> > Sent: Wednesday, March 22, 2000 4:13 PM
> > To: www-style@w3.org
> > Subject: Syle Sheets, Tables and Netscape Communicator
> > 
> > 
> > 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 18:27:01 UTC