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.
Many of the hacks out there are for 1.5 and 2.0, but after a bit of testing I found a few differences. These one is for version 2.0 and newer.
/* Firefox 2+ */ _:-moz-is-html, :root .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