On Jul 30, 2007, at 12:00 PM, Michael P. Soulier wrote:

> As example - http://opag.ca/
>
> The paragraphs in the main page of the front page are simple p  
> tags. They
> should inherit the font-size attribute of the body tag, but I can  
> change that
> to whatever I like and the size of the text in the page does not  
> change.
>
> If I change the p tag's font-size, it is reflected immediately.

That document is in Quirksmode. And the <p> are descendants of a <table>
In that mode (also known as backwards compatibility mode),  
inheritance does not go _through_ <table>: <table> resets the font- 
size to 1em.

If you use a DocType [1] that triggers Standards Mode, then the  
inheritance will work.

[1] at a minimum:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>




______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to