These are my legal CSS Hacks for fixing web browser quirks or outright bugs. Please enjoy, I have been working on them for years. May it help you if you need them. Please read here first: [What are these CSS Hacks Anyway?] Then check my [Live CSS Hacks Test Page] and also [BrowserHacks.com] where I sent new hacks and test submissions for the site.
Versions 3.0, 3.5, and 3.6 of Firefox have some differing CSS.
Here is a CSS hack I created as a one-liner using a pseudoclass for 3.0 and up:
/* Firefox 3+ */ _:-moz-loading, :root .selector { property:value; } Author: Jeff Clayton
Here is one created for all of Firefox 3.0-3.6 (3.x)
/* Firefox 3-3.6 (Firefox 3.x) */ _:not(), _:-moz-loading, .selector { property:value; } Author: Jeff Clayton
As mentioned above, to test this live, view it on my test page at:
[ http://browserstrangeness.bitbucket.org/css_hacks.html ]
Leave a Reply