|
Thank you for the reply vangogh!
The style for this div is actually in line, not on a separate .css file.
Therefore, in this case, I would like to add the if comment on the same file. Is this how I would write the code?
<div style="background-color:#333;float:left;width:813px;clear:both; margin-right:5px; margin-left:0px; margin-bottom:5px;min-height:756px;">
<!--[if IE]><style type="text/css">height:756px;</style><![endif]-->
</div>
--------------------------------------------------------------------------------------
Another question:
Suppose I had a separate file called style.css and there I have:
#box1 {height:756px;}
When I make my other file called ie-style.css, do I write the code in this file like this:
#box1 {height:756px;}
<!--[if IE]>
height:756px
<![endif]-->
Thanks again!
|