.content {
width: 1140px;
margin: 0 auto;
text-align: center;
}
.content .content_row {
display: table;
}
我想将我的两行调整为 1140 像素。 我可以在没有表格标签的情况下这样做吗?
更新。我想要这个 result
最佳答案
尝试以下操作
.content {
min-width: 1140px; // Change to min-width
margin: 0 auto;
text-align: center;
}
.content .content_row {
display: table;
}
关于html - CSS 表格宽度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28557013/