Strange behaviour with pie.htc

Hello

I am trying to use PIE.htc to make IE work properly.

If the style is in the head of the html it works:

"<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml”>
<head>

<style type=“text/css”>
body {
background-color: #fff;
font: normal 11pt Trebuchet MS,Arial,sans-serif;
}
#container {

width:950px;
height:300px;	
border-right:1px solid #0774F0;
border-left:1px solid #0774F0;
border-top:1px solid #0774F0;
border-bottom:1px solid #0774F0;
background-color:#ffffff;
margin-bottom:25px;
-moz-box-shadow: 0px -3px 55px 20px #888888;
	box-shadow: 0px -3px 55px 20px #888888;
	-webkit-box-shadow: 0px -3px 55px 20px #888888;

	-moz-border-radius: 25px; /* Firefox */
-webkit-border-radius: 25px; /* Safari, Chrome */
border-radius: 25px; /* CSS3 */

behavior:url(PIE.htc);
}

</style>
</head>
<body>
<div id=“container” style=“behavior:url(PIE.htc);”>
</div>
</body>
</html>"

But if I refer to an style sheet with exactly the same style ad=s the container above, it does not work.

ie I include “<link rel=“stylesheet” type=“text/css” href=“style.css”>” in the html and have the container style in style.css.

Any ideas what is going on.

Best Wishes

It’s probably a silly question, but are the style.css and PIE.htc files in the same directory?

Yes. I am doing this all on my desktop - not yet uploaded to website - and I have a folder containing index.htm, PIE.htc and style.css. I drag and drop index.htm into IE8 or double click to open in Firefox