Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CSS :before/:after Selectors in IE 6,7

I know that :before/:after selectors are not available in IE 6,7
http://www.quirksmode.org/css/contents.html

Is there a js hack to enable support for these selectors in IE?

like image 566
Sergiu B Avatar asked Jan 30 '11 18:01

Sergiu B


2 Answers

There's a Javascript solution called IE7, it fixes common IE bugs: http://code.google.com/p/ie7-js/

like image 83
Matthijs Avatar answered Nov 05 '22 22:11

Matthijs


of course jQueries before and after

what else ;)

like image 25
Caspar Kleijne Avatar answered Nov 05 '22 21:11

Caspar Kleijne