欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

div做的表格

程序员文章站 2022-03-02 09:37:36
...
<div style="border:solid 1px; width:200px; height:200px;">
<div style="border-style: solid ; border-width:0px 1px 1px 0px; width:99px; height:20px; float:left; text-align:center">单元格</div>
<div style="border-style: solid ; border-width:0px 0px 1px 0px; width:100xp; height:20px; text-align:center; ">单元格</div>
<div style="border-style: solid ; border-width:0px 1px 1px 0px; width:99px; height:20px; float:left; text-align:center">单元格</div>
<div style="border-style: solid ; border-width:0px 0px 1px 0px; width:100xp; height:20px; text-align:center; ">单元格</div>
<div style="border-style: solid ; border-width:0px 1px 1px 0px; width:99px; height:20px; float:left; text-align:center">单元格</div>
<div style="border-style: solid ; border-width:0px 0px 1px 0px; width:100xp; height:20px; text-align:center; ">单元格</div>
<div style="border-style: solid ; border-width:0px 0px 1px 0px; width:100xp; height:20px; text-align:center; ">行</div>
<div style="border-style: solid ; border-width:0px 1px 1px 0px; width:99px; height:20px; float:left; text-align:center">单元格</div>
<div style="border-style: solid ; border-width:0px 0px 1px 0px; width:100xp; height:20px; text-align:center; ">单元格</div>
<div style="border-style: solid ; border-width:0px 1px 1px 0px; width:99px; height:20px; float:left; text-align:center">单元格</div>
<div style="border-style: solid ; border-width:0px 0px 1px 0px; width:100xp; height:20px; text-align:center; ">单元格</div>
</div>
相关标签: HTML