/ Published in: CSS
Firefox 3 CSS hack
Expand |
Embed | Plain Text
.foo, x:-moz-any-link { } /* FireFox 2 */ .foo, x:-moz-any-link, x:default { } /* FireFox 3 */ html>/**/body .foo, x:-moz-any-link, x:default { } /* Only FireFox 3 */
Comments
Subscribe to comments
You need to login to post a comment.

I feel like blind man in strange area ... coz I am nonexpert in programing language stuff.. by the way just want to know I'll try to learn more.. he8.. thanks very much :- )
1 & 2 doesn't work in IE7, because IE7 doesn't drop the rule as it should (but IE6 does, incredibly).
So effectively, hacks 1 & 2 are now "Firefox-N-and-IE7-only" hacks. Might apply to IE8 too if MS doesn't fix / know about the bug above.
I tested 3, without the x:default selector, and it works as expected in at least IE6, IE7, FF3, and is most likely to work in FF2.
Addendum to my last comment: 1 & 2 doesn't work in IE7 only if you are using multiple_ie's IE6 (possibly others).
like this post just like replica handbags
Thanks so much for sharing this! It turned out very helpful to me:) I use only Firefox to browse Internet, listen to musiŃ and even to watch TV online .