Reputation: 1969
I want to separately target Firefox 3.6 and below via CSS selectors without access to JS or server-side mechanisms. Is there a way to do that?
Upvotes: 0
Views: 762
Reputation: 15136
body:-moz-last-node #element {/* ≤ Firefox 3.6 */}
:-moz-any(html) #element {/* ≥ Firefox 4 */}
The second rule is there to reset recent versions of Gecko-based browsers.
But remember that it will probably be dropped in favour of :matches() in the near future.
Upvotes: 2