- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I was reading this post, and it seems that there is a way to target everything except IE:
https://css-tricks.com/how-to-create-an-ie-only-stylesheet/
But I really need to know if (and how) I can use it to target everything except just IE6 and 7 (since IE8 and 9 got it right, and I don’t want to lose functionality for good web browsers).
Thanks a lot, I really wonder if something like this will do the job:
Thanks again! :D
It’s not just about CSS. I have a button rollover animation through jQuery that doesn’t display correctly in IE6 and 7, so I prefer using the classic CSS rollover for them. But I just don’t know how to make them ignore the jQuery file… any idea? If you could give me the code would be great!
Try googling ‘jquery.support’
You can put code in the ie6-and-7 stylesheet to affect every browser. You can then override that with the style.css stylesheet.
Effectively you are able to target IE6 and 7 only even though it’s a bit of a work around.