Return to Snippet

Revision: 3405
at July 20, 2007 06:09 by valcartei


Initial Code
Create an new css document and link to it from your html page using the following filter:

<!--[if IE]>
    <link rel="stylesheet" type="text/css" href="iestyles.css" />
<![endif]--> 

Where iestyles.css is your css document containing all the rules which will be only applied if IE browser is detected.

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

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

Initial Title
use specific styles for IE

Initial Tags
ie, layout

Initial Language
CSS