Previous Message
Next Message

Re: [css-d] Doctype & css -your opinion

Sent by Eric A. Meyer on 14 January 2003 03:03


At 22:52 +0100 1/13/03, Luc wrote:

>  I have not
>  declared a doctype at the moment and according to your article this
>  will cause IE, Netscape to get into quirks mode and prevent the table
>  to inherit the font values. Is my assumption correct?

    For Netscape 6.1+, I believe the answer to be yes, the lack of a 
DOCTYPE will put the browser into quirks mode and it will not inherit 
font styles (other than font-family) into tables.  This is likely to 
also be the case in IE6.  However, it's possible to stay in quirks 
mode and still get proper font inheritance into tables.  See 
<http://devedge.netscape.com/viewsource/2002/table-inherit/> for an 
explanation.  If IE6 properly supports 'inherit', then the solution 
described there will also work in IE6.

--
Eric A. Meyer (http://www.meyerweb.com/eric/), List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
   -- Martina Kosloff (http://www.mako4css.com/)
Previous Message
Next Message

Message thread: