Code Snippet
CSS Hacks Targeting Firefox
Firefox 2
html>/**/body .selector, x:-moz-any-link {
color:lime;
}Firefox 3
html>/**/body .selector, x:-moz-any-link, x:default {
color:lime;
}Any Firefox
@-moz-document url-prefix() {
.selector {
color:lime;
}
}
Mayb I can test or guess it, but what does it do?
It targets only Firefox browsers, so you can make CSS exceptions. You would use it for hacks, to make your site more functional. (If required).
Most hacks are for I.E., since they can render a lot differently than other browsers.
Hey,
thanks for the tip but its not working in Firefox 3.6.x anymore..
but thius one works!
.selector, x:-moz-any-link, x:default { color:lime; } /* FireFox 3 */@tom: thanks a lot! works fine for me!
Thanks for the information provided.
Please let me know about Firefox 4.0 and IE9 CSS hacks….
Its very lovey hack for mozilla.
it has resolved my mozilla-firefox problem.
Thanks you
Vindesh Mohariya
IE 9 hack …
.selector { color: #fff\9; }
Firefox 4 hacks anyone?
“\9″ works for both ie8 and ie9.
\9 works for all the IEs
great hack thank you.
uhmm.. what does it do? hehe sorry i’m a newbie to this. :))
DigWP
A book and blog co-authored by Jeff Starr and myself about the World's most popular publishing platform.
Quotes on Design
Design, like Art, can be an elusive word to define and an awfully fun thing to have opinions about.
HTML-Ipsum
One-click copy to clipboard access to Lorem Ipsum text that comes wrapped in a variety of HTML.
Bookshelf
Hey Chris, what books do you recommend? These, young fertile mind, these.