<!--
-----------------------------
Conditional Comments for IE :
-----------------------------
Say you have a rule that works fine in FireFox and Opera
but it's a little off in Internet Explorer.
-->
Keep your styles optimized for Firefox, but in the markup
add this:
<!--[if IE]>
<style type="text/css">
.yourclass
{
width:400px;
}
</style>
<![endif]-->
Where .yourclass is the offending item
You can do more:
<!--[if IE gte 5.5]>
Only if Internet Explorer greater than or equal to
version 5.5
<![endif]-->
You can also use lt, lte, gte and ! (! means 'not')
0 Comments:
Post a Comment