Posted By

valcartei on 07/20/07


ie layout ie7

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


use specific styles for IE

 / Published in: CSS


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:
  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  

You need to login to post a comment.