Target Versions of IE Using CSS

Cool way to easily target a specific version of IE in CSS:

#someElement {
   background: red; /* modern browsers */
   *background: green; /* IE 7 and below */
   _background: yellow; /* IE6 exclusively */
}


via NETTUTS

Similar Posts:

Post a Comment

Your email is never shared. Required fields are marked *

*
*