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:
  3. <!--[if IE]>
  4. <link rel="stylesheet" type="text/css" href="iestyles.css" />
  5. <![endif]-->
  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


RSS Icon Subscribe to comments

You need to login to post a comment.