
Difference between local and online site
Hello,
I used CSS3 Pie for some buttons and boxes on a website. I always first work with a local server and everything was going well.
But when I put the site online, the CSS3 Pie behavior does not work anymore on Internet Explorer (6, 7 and 8).
There is absolutely no difference between online and local CSS and HTML code.
Can you please tell me what's happening ?
I do not know which information can help you.
My doctype is :
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
My button CSS is :
Code:
a.button {
display:inline-block;
padding:5px;
border-radius:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border:1px solid #d7d7d7;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#ffffff), to(#d7d7d7));
background: -moz-linear-gradient(#ffffff, #d7d7d7);
-pie-background: linear-gradient(#ffffff, #d7d7d7);
color:#494949; font-weight:bold; font-size:13px;
position:relative;
behavior:url(../images/pie.htc);
}
After looking at the known issues, I added
Code:
AddType text/x-component .htc
to my .htaccess file but the problem is still here
EDIT :
When I remove "www." from my URL, some behaviors work but the others completely disappear