Previous Message
Next Message

Re: [css-d] Psuedo class inheritance/IE6 bug(?)

Sent by Eric A. Meyer on 24 January 2002 23:11


At 19:26 -0500 1/24/02, Chris Casciano wrote:

>Instead of the expected result - the first letter of the paragraph being
>blue, 40px & Georgia - I ended up with a 40px black Arial first letter. A
>built example can be found here:
>
>http://placenamehere.com/css-discuss/psuedo_test.html
>
>Any thoughts on the matter? Does anyone out there think this is anything
>more then a bug in IE6?

    It seems like a bug in IE6, but I'm not entirely certain yet-- 
could you send me a snapshot of the behavior offlist?  Porter's 
corrective e-mail is correct; the '*' rule does NOT apply to the 
pseudo-element because only element can be selected.  Note I don't 
say "styled," I say "selected."  For example, the selector 
'p#test:first-line' selects a paragraph element with an 'id' of 
'test', and then causes only its first line to be styled.  But it's 
the element that is selected.
    I loaded up your test page in NS6.2.1 and discovered very little 
styling.  Is your server set to hand over .css files as text/css or 
text/plain?  It makes a difference when the page is in "strict" mode, 
as yours probably is thanks to its XHTML DOCTYPE.

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

Message thread: