【问题标题】:CSS3 Pie border disappearedCSS3 Pie边框消失了
【发布时间】:2011-11-13 04:50:58
【问题描述】:

我正在尝试在我的 asp.net mvc 3.0 应用程序中使用 CSS3Pie 但在 IE 9 版本的情人中,边框完全消失了。 这是我的css

.box
{
    margin:auto;
    display:table;
    text-align:center;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border: 1px solid #86b0ca;
    margin:10px 0 10px 0;
    behavior: url("/Scripts/htc/PIE.htc"); /*if i remove that the border not disappeared but square in old IE versions*/
}

【问题讨论】:

    标签: css css3pie


    【解决方案1】:

    在此框中添加position:relative,然后去阅读文档!

    http://css3pie.com/documentation/known-issues/ 有一个部分解释了为什么需要这样做,我不确定为什么它不在入门指南中。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-01-28
    • 2011-09-29
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多