我想知道是否有替代编写 css 而不是使用 css 表来制作液体/动态布局的方法。乙烯基真的在这里帮助了我......简单的3列响应式布局
这正是我需要列工作的方式,但是当我使用 css 表时,似乎我无法用边距和填充将东西定位在里面(我可能可以左右但相对定位会破坏文档流,所以我不想要这样做)...这里和示例 http://jsfiddle.net/u5nR2/4/
.container{
width:100%;
height:100%;
display: table;
}
div > div {
display: table-cell;
}
.three div{margin-top:100px}/*why doesnt this move?*/