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

FW: FW: Syle Sheets, Tables and Netscape Communicator

From: Zoltan Hawryluk <zoltan@netcom.ca>
Date: Mon, 29 May 2000 18:26:50 -0400
Message-ID: <051686CF5E6CD211B8FC00A0C9D4CF4501438D1B@exmail.corp.netcom.ca>
To: "'Lars'" <Lars_Reith@bigfoot.de>, "'www-style@w3.org'" <www-style@w3.org>
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 GMT

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