How do you include an ie_hack.css in headinclude?

Hi, i'm trying to include an external css for ie hacks...

In the headinclude, i have:

<if condition="is_browser('ie')">
<link rel="stylesheet" type="text/css" href="clientscript/ie_hacks.css" />
</if>

doesn't want to work;

tried

<if condition="is_browser('ie',6)">
<link rel="stylesheet" type="text/css" href="clientscript/ie_hacks.css" />
</if>

still doesn't want to call it.

any help would be appreciated.

TIA
 
Try the old fashioned html way:
Code:
<!--[if lte IE 6]>
	<style type="text/css" media="all">
	  @import "clientscript/ie_hacks.css";
	</style>
	<![endif]-->
<!--[if gt IE 6]>
	<style type="text/css" media="all">
	  @import "ie_hacks.css";
	</style>
	<![endif]-->
 
Back
Top