
PIE loading on front page, but not on subpages?
Hi
I am using CSS3 PIE with OpenCart.
I have some buttons with the following CSS class:
Code:
a.greenbutton, input.greenbutton {
behavior: url("css3pie/PIE.php");
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
border-radius: 7px 7px 7px 7px;
cursor: pointer;
display: inline-block;
line-height: 11px;
padding: 6px 12px;
text-decoration: none;
background-color: green;
color: white;
position:relative;
z-index: 0;
}
i changed PIE.htc to PIE.php because it was returning the wrong content type. Also, i added the following in my .htaccess file:
Code:
AddType text/x-component .htc
- there is probably no need for it now, since im using the .php file.
Furthermore, for PIE to work, i had to add following to the CSS class:
Code:
position:relative;
z-index: 0;
The problem is, that PIE only renders the class on the front page, and not in subpages. Have a look at:
http://trashtalk.dkand
http://trashtalk.dk/Apple/iPhonethe PIE files are placed in root/css3pie/
Where am i going wrong?
Thanks