我在该页面的浏览器(Firefox 除外)中遇到边距问题:
http://jumpthru.net/newsite/commentary/
这是 CSS:
#container3 {
float: right;
margin: 0 -240px;
width: 100%;
}
#content3 {
margin: 0 210px 0 -45px;
width:500px;
}
#primary, #secondary {
left:920px;
overflow: hidden;
padding-top: 40px;
position:absolute;
width: 220px;
}
最佳答案
构建页面的一种奇怪方式.. 我建议您在 main2.. 中创建一个 2 列布局 左边是菜单,右边是评论标题,下面是内容和最近的评论部分。
然后,开始使用 clearfix:http://www.positioniseverything.net/easyclearing.html
关于css - 如何修复这些边距?仅在 Firefox 中工作正常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6187502/