开发者

CSS3PIE border-radius does not compute :(

Hey all. I've done tons of searching and still nothing. My element has the following CSS and the PIE.htc file is definatly in the correct folder. Still no curvey corners i开发者_开发百科n IE6-8 :(

#nav {
width:500px;
border:2px solid #eee;
-moz-border-radius: 10px;
border-radius: 10px; 
behavior: url(/PIE.htc);
position:relative;
z-index: 0;

}


Check that your PIE.htc file is being served with the correct HTTP content-type header. It needs to be "text/x-component", but some servers do not have this set up correctly and send something like "text/plain" or "text/html" instead; IE will ignore the behavior file if this is the case.

More suggestions can be found at http://css3pie.com/documentation/known-issues/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜