Posted By

dkl3in on 09/10/10


Tagged

html


Versions (?)

conditional stylesheets vs css hacks answer


 / Published in: CSS
 

URL: http://www.paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/

  1. <!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
  2. <!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
  3. <!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
  4. <!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
  5. <!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->

Report this snippet  

You need to login to post a comment.