我需要兩排,第一個有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: '