Previous Message
Next Message

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

Sent by Chris Casciano on 24 January 2002 19:07


Hi all...

Since we have a few other questions on pseudo classes flying about I figured
I'd throw this one out there that I ran into a few days ago. Its more of a
sanity check/bug confirmation then anything else, but since the IE6 folks
seem to have interpreted the "*" selector differently then my own mental
model as well as mozilla & IE/mac do I thought I'd lay it out there.

I usually don't, but out of laziness I used * to set my default font
properties for a document. When checking the page on my PC a strange thing
happened. It seemed  the "*" declaration in the following example trumped
the definition of "P" when IE6/PC was displaying the P:first-letterŠ

* { font-family: Arial, sans-serif; font-size:14px; color:#000000;
background-color:#FFFFFF;}
p { font-family: Georgia, serif; color:#0000FF; }
p:first-letter { font-size: 30px; }

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?

-- 
Chris Casciano                  home >> http://www.placenamehere.com/
                                words > http://www.chunkysoup.net/
[EMAIL-REMOVED]       fun >>> http://www.neuralust.com/~cac6982/
Previous Message
Next Message

Message thread: