我需要两排,第一个有3列第二,我需要跨越所有的宽度就像td colspan=3
会做如何显示表行表现得像合并单元格= 3
或显示:表 - 细胞;表现得像合并单元格= 3
我使用display: table-row; width: 100%;
如何能不能做到?
这是我的CSS:
<style>
.boxer {
display: table;
border-collapse: collapse;
}
.boxer .box-row {
display: table-row;
}
.boxer .box-row-search {
display: table-row;
width: 100%;
}
.boxer .box {
display: table-cell;
text-align: left;
vertical-align: top;
border: 1px solid black;
}
</style>
更好张贴HTML了。 – Stickers
这是HTML: '