1

我的页面在 FireFox、Chrome 和 Safari 上看起来很棒。但是在 IE 上,当使用 RTL 方向时,浮动 div 之间似乎有额外的余量。当我删除“direction:rtl”时,它在 IE 上运行良好。

这是我的 2 个相邻 DIV 的 CSS。任何想法?谢谢

#box5{
    position:relative;
    background:#FFF;
    float:right;
    width:436px; height:203px; overflow:hidden;
    padding:30px 20px 20px 20px;
    margin:20px 105px 0 70px;
    direction:rtl;
}

#box6{
    position:relative;
    background:#FFF;
    float:right;
    width:436px; height:203px; overflow:hidden;
    padding:30px 20px 20px 20px;
    margin:20px 0 0 70px;
    direction:rtl;
}
4

1 回答 1

1

我知道了。我删除了左边距,它起作用了。似乎左边距不应该与direction:rtl.

于 2013-04-30T14:32:11.327 回答