Re: CSS inheritance

It's a bug in most browsers. Some style properties are inherited, while others are not.

Use an external style sheet and redefine the properties of <td>, or define a new class
and apply it to your table cells, e.g. <td class="myTdStyle">  

Here is a good CSS reference:
http://www.blooberry.com/indexdot/css/index.html

Best regards,
Lars Ingerman Haenschke


----- Original Message ----- 
From: "Alexander Shpack" <oshpack@viva-solutions.com>
To: <www-html@w3.org>
Sent: Tuesday, July 02, 2002 1:22 PM
Subject: CSS inheritance


> 
> Hello!
> 
> Sory for my bad english.
> 
> One sample.
> ...
> <body style="font-weight:bold">
>   <table><tr><td>
>     This text is not bold.
>   </td></tr></table>
>   Bold text here.
> </body>
> ...
> 
> Why font-weight property don't apply to table cells?
> Where I can read about inheritance different properties to HTML 
> elements, like a table?
> 
> Best regards, Alexander.
> 

Received on Tuesday, 2 July 2002 09:01:13 UTC