HighDots Forums  

CSS body font-weight not inherited by table

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss CSS body font-weight not inherited by table in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Lossed
 
Posts: n/a

Default CSS body font-weight not inherited by table - 08-05-2004 , 05:56 PM






Hi there,

Actually, see sid vishus's earlier question. I tried to answer it but got
stuck myself so hopefully someone can help us both out.

I notice that an un-named table with no styling of it's own will inherit
many things from a body styling in CSS, such as colour and font-family, but
it does not inherit the font-weight from the body styling. Why is that?




Reply With Quote
  #2  
Old   
darrel
 
Posts: n/a

Default Re: CSS body font-weight not inherited by table - 08-05-2004 , 06:24 PM






Quote:
I notice that an un-named table with no styling of it's own will inherit
many things from a body styling in CSS, such as colour and font-family,
but
it does not inherit the font-weight from the body styling. Why is that?
It should. In older browsers, tables would usually break the inheritance. IE
may still be broken for all I know.

The easiest fix is to just pair up the style:

body, td {font-weight: whatever}

-Darrel




Reply With Quote
  #3  
Old   
Lossed
 
Posts: n/a

Default Re: CSS body font-weight not inherited by table - 08-05-2004 , 08:04 PM



sorry, i meant to say font-size, not font-weight

"darrel" <notreal (AT) hotmail (DOT) com> wrote

Quote:
I notice that an un-named table with no styling of it's own will inherit
many things from a body styling in CSS, such as colour and font-family,
but
it does not inherit the font-weight from the body styling. Why is that?

It should. In older browsers, tables would usually break the inheritance.
IE
may still be broken for all I know.

The easiest fix is to just pair up the style:

body, td {font-weight: whatever}

-Darrel





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.