use specific styles for IE


/ Published in: CSS
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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.

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.