当我以两种不同的方式访问使用 CSS3 PIE 的站点时,在一种情况下找不到 HTC 文件。我使用示例域名和路径名来说明以下问题。什么可能导致这种情况发生?
http://sampledomain.com/site <-- 在 IE8 中不呈现圆角
http://sampledomain.com/site/ <-- 呈现圆角
CSS圆角文件位于
该网站包含来自的 CSS 文件
http://cdn.cdndomain.com/path/to/content/css/rounded-corners.css
CSS:
.rounded-corners
{
behavior: url(content/css/pie.htc);
}