I know that: before /: after selectors are not available in IE 6.7http://www.quirksmode.org/css/contents.html
Is there a js hack to enable support for these selectors in IE?
of course jQueries before and after
what else;)
There is a Javascript solution called IE7, it fixes common IE errors: http://code.google.com/p/ie7-js/
, ; :
http://jquery.lukelutman.com/plugins/pseudo/
CSS2: before : after - ... . , IE7. : " , Microsoft , , !" ? . , - * {: (...); } - can ( less) enable: before : after for IE5.5 +jquery.pseudo.js , :
CSS2: before : after - ... . , IE7. : " , Microsoft , , !" ? . , - * {: (...); } - can ( less) enable: before : after for IE5.5 +
jquery.pseudo.js , :
p:before, p { before: 'foo'; content: 'foo'; } p:before, p .before { color: blue; }
Jquery, , , , .
/* fix top nav ui in ie6*/ if ($.browser.msie && $.browser.version <= 6 ) { $('#topNav ul li a:not(:last)').after("/"); }
https://gist.github.com/1133433 IE 6 7. CSS3 , - CSS3 Flexible Box w/box-sizing: border-box, padding fixed widths. : ( ). , .
, CSS3 Flexible Box. box-align: , , SOL.