【问题标题】:Using CSS3Pie in Wordpress... Doing everything right, still not working在 Wordpress 中使用 CSS3Pie... 一切正常,但仍然无法正常工作
【发布时间】:2013-02-06 22:40:26
【问题描述】:

我正在尝试在 IE8 中让我的滑块导航选项卡上的圆角:csr.steelcase.com ...(“我们的愿景”、“我们的 CEO 致辞”等)

该网站是用 WordPress 编写的,我已经按照我读过的几篇文章正确安装了 CSS3PIE,但无论出于何种原因,我仍然无法在 IE8 中修圆。我也尝试过链接到 PIE.htc 文件...无济于事。

 body.company .flex-control-paging li a.flex-active{background: white; color:#333;
-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
zoom: 1;
position: relative;
behavior: url(http://csr.steelcase.com/wp-content/themes/steelcase360_theme_csr/pie_ver1/PIE.php);
}

有人有什么想法吗?感谢您的帮助。

【问题讨论】:

    标签: css internet-explorer-8 css3pie


    【解决方案1】:

    PIE.htc 只支持边框半径的简写版本,所以使用这个:

    body.company .flex-control-paging li a.flex-active{
        background: white;
        color:#333;
        -webkit-border-radius: 10px 10px 0 0;
        -moz-border-radius: 10px 10px 0 0;
        border-radius: 10px 10px 0 0;
        zoom: 1;
        position: relative;
        behavior: url(http://csr.steelcase.com/wp-content/themes/steelcase360_theme_csr/pie_ver1/PIE.php);
    }
    

    http://css3pie.com/documentation/supported-css3-features/#border-radius

    【讨论】:

    • 嘿,没问题。喜欢 PIE.htc 并经常使用它。 :)
    猜你喜欢
    • 1970-01-01
    • 2011-05-07
    • 2021-06-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-11-14
    • 1970-01-01
    相关资源
    最近更新 更多