
Re: Can't get it to work (IE8 and lower)
Hi guys, this is my code:
Code:
<!DOCTYPE html>
<head>
<meta charset="UTF-8" />
<link rel="profile" href="http://gmpg.org/xfn/11" />
</head>
<body>
<div id="round-corners">Some Cakes</div>
<style type='text/css'>
#round-corners {
width: 300px; height: 300px;
border: 1px solid #696;
padding: 60px 0;
text-align: center; width: 200px;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: #666 0px 2px 3px;
-moz-box-shadow: #666 0px 2px 3px;
box-shadow: #666 0px 2px 3px;
background: #EEFF99;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#EEFF99), to(#66EE33));
background: -webkit-linear-gradient(#EEFF99, #66EE33);
background: -moz-linear-gradient(#EEFF99, #66EE33);
background: -ms-linear-gradient(#EEFF99, #66EE33);
background: -o-linear-gradient(#EEFF99, #66EE33);
background: linear-gradient(#EEFF99, #66EE33);
-pie-background: linear-gradient(#EEFF99, #66EE33);
behavior: url('PIE.htc');
}
</style>
</body>
</html>
This is working in IE8 but NOT in IE7.
When visiting the css3pie.com website it will work for IE7, too - so i thought it could be an issue with my server and put
Quote:
AddType text/x-component .htc
into the .htaccess without succsess.
I also tried positioning relative and/or z-indexing...
I just don't get behind is the problem for IE7.
Any hint?