Previous Message
Next Message

an alternative to if ie hack

Sent by Michael Wilson on 2 November 2005 14:02


[EMAIL-REMOVED] wrote:

> Is there an alternative to the hack
> 
> <!--[if IE]>
> <style>
> div.logo {
> 	margin-left: 10px;
> }
> </style>
> <![endif]-->
> 
> something I can put in the external style sheet?

Hi,

<!--[if IE]>
<style type="text/css">
<!--
@import url("foo/foo.css");
-->
</style>
<![endif]-->

or

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

HTH

-- 
Best regards,
Michael Wilson

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: