views:

34

answers:

2

Hi guys,

I am having a cross browser problem with IE 7 and I have decided to go for a different style sheet for it. Could you please advise me what is the best way to call IE7 when used? And keep of course the other one for all the other browser. Many thanks Francesco

+2  A: 

Conditional Comments

David Dorward
+3  A: 
<!--[if IE 7]>
    <link href="/ie.css" rel="stylesheet" type="text/css" />
<![endif]-->
x2
Thank you very much. Francesco
francesco
Hurray for conditional comments! No need for ugly hacks, and there is almost always a chance to make all other browsers behave with valid CSS.
Igor Zinov'yev