4336 posts ThemeForest Reviewer
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+12 more
Ivor Envato team says

This is sooo useful – you should try it :) This will save us time!

\\

Download: http://github.com/weepy/cssie

CSS in your face (only IE need to apply)

Plugin for jQuery providing native support for missing CSS in IE. Currently provides:

  • E > F (direct descendant)
  • :hover (normally only available to a tags)
  • E + F (sibling)
  • [rel=attr] (attribute selection)
  • :first-child and any other selectors containing : and supported by jQuery
  • :focus

How it works

  • that parses the stylesheets for rules that match a regex
  • replaces selectors that match with corresponding rules with an internal class .cssie-x (x is an integer)
  • add the class cssie-x using the original selector using jQuery
  • for :hover and :focus, automatically setup up jQuery events to add/remove the .cssie-x class upon hover/focus

Usage

  • include ‘cssie.js’ in your page after ‘jquery.js’
  • $.cssie() on the jQuery.ready event
  • You can cause the same behaviour on non MSIE browsers with: $.cssie(true)
228 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has collected 100+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
stevebluck says

wowo Im using it right now, that’s awsome!

4336 posts ThemeForest Reviewer
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+12 more
Ivor Envato team says
wowo Im using it right now, that’s awsome!

Yah :) is awesome!

1435 posts
  • Has referred 200+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Member of the Envato Team
+12 more
kailoon Envato team says

This is cool :)

2529 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Interviewed on an Envato blog
+11 more
JeffreyWay says

I’ve always used Dean Edwards’ ie8.js script. Is this one different/better?

4336 posts ThemeForest Reviewer
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+12 more
Ivor Envato team says
I’ve always used Dean Edwards’ ie8.js script. Is this one different/better?

I don’t know why but Dean Edward’s ie8.js crash my IETester (Win / Mac Parallels) for any reason – this tiny script works like a charm! :)

380 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+3 more
celtathemes says

Seems great, definitely gonna try it. I’ve used Dean Edwards ie7 script some time ago.

by
by
by
by
by
by