
PIE working in IE7 but not in IE8
Here is the code for IE8 :
Code:
.box{
width:200px;
height: 200px;
position: absolute;
margin-left: -100px;
left:50%;top: 50%;
background-color: green;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: #666 0 2px 3px;
-moz-box-shadow: #666 0 2px 3px;
box-shadow: #666 0 2px 3px;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#9F9), to(#393));
background: -webkit-linear-gradient(#9F9, #393);
background: -moz-linear-gradient(#9F9, #393);
background: -ms-linear-gradient(#9F9, #393);
background: -o-linear-gradient(#9F9, #393);
-pie-background: linear-gradient(#9F9, #393);
behavior: url (_css/PIE.php);
}
I am using Parallels 6 to test IE7 & IE8 (I have also tested this on a Windows machine running IE8), it works fine using PIE.php in IE7 but doing nothing in IE8.
I have tried all of the file formats within the download folder and I have triple checked my paths and they are correct.
Any help would be great,
many thanks,
Sam.
[*]
Also i have previously read on the forum that changing the positioning to relative and the z-index 0 would help but hasn't changed it, I have also set up a test document focused on this issue http://www.plantify.co.uk/testpie.html