KenB

msg:4085750 | 6:24 pm on Feb 23, 2010 (gmt 0) |
I do not believe that IE6 supports this pseudo class. Unless it created major usability issues, this is one of those pieces of styling that I'd just make IE6 users live without. IE6 is like nine years old and entirely obsolete. Just make sure pages degrade gracefully in IE6 and call it good. Don't try to fix things such that they are pixel perfect.
|
joiseymike

msg:4087344 | 8:34 pm on Feb 25, 2010 (gmt 0) |
IE6 doesn't support :first-child. You can use javascript to pick the first child of the parent element.
var myElement = document.getElementsByTagName("body")[0];
var firstPTag = myElement.getElementsByTagName("p")[0];
firstPTag.style.color = "blue";
|
|