Posted By

valcartei on 07/20/07


Tagged

ie layout ie7


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

SpinZ


use specific styles for IE


 / Published in: CSS
 

URL: http://msdn2.microsoft.com/en-us/library/bb250496.aspx

To use css which will only be applied if the browser is IE.

  1. Create an new css document and link to it from your html page using the following filter:
  2.  
  3. <!--[if IE]>
  4. <link rel="stylesheet" type="text/css" href="iestyles.css" />
  5. <![endif]-->
  6.  
  7. Where iestyles.css is your css document containing all the rules which will be only applied if IE browser is detected.

Report this snippet  

You need to login to post a comment.