It also assumes your navigation is structured thusly: <div><a><img></a><a><img></a></div> First, make sure your jQuery code is surrounded by the usual:
Daily Archives: January 25, 2011
How To Create an IE-Only Stylesheet
The Code This would go in your <head> with all the other regular CSS <link>ed CSS files. The opening and closing tags should be familiar, that’s just regular ol’ HTML comments. Then between the brackets, “IF” and “IE” should be fairly obvious. The syntax to note is “!” stand for “not”, so !IE means “not …