Mr Initial Man
03-26-2009, 07:39 PM
Does IE 7+ indeed support [attribute] CSS selectors?
What I did was I had a page that had the following rule:
[lang]{color:red; font-style:italic;}
[lang="en"]{font-style:normal;}
To my COMPLETE surprise, when I checked it on Browsershots.org, IE 7 and 8 showed both q elements that HAD a lang attribute as BRIGHT RED! IE8 even showed quotation marks!
What I did was I had a page that had the following rule:
[lang]{color:red; font-style:italic;}
[lang="en"]{font-style:normal;}
To my COMPLETE surprise, when I checked it on Browsershots.org, IE 7 and 8 showed both q elements that HAD a lang attribute as BRIGHT RED! IE8 even showed quotation marks!