I noticed the following when working with first-line and first-letter pseudo elements and IE6:
while this works:
This doesn't:Code:p:first-line { color:red; }
The only difference is that in the first case there is a space between ":first line" and "{" while there is no space in the second.Code:p:first-line{ color:red; }
This happens only when IE6 is in standards mode. If I add the <?xml declaration, or remove the doctype then everything works.
Does this happen to your IE6 also? Is it a bug, or we are supposed to leave that space always?





Bookmarks