Conditional Statement add css in them -


is possible following conditional comments:

<!--[if ie]>    .ie-only{margin-top:-13px;} <![endif]--> 

you can this...

<html>    <head>    <!--[if ie]>    <style>      .box {            width: 500px;            background:red;          padding: 100px 0;          }      </style>  <![endif]-->  </head>    <body>    <div class="box">try in ie</div>  </body>    </html>

edit:

you can include external css ie alone.

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

Comments