当前位置: 代码迷 >> HTML/CSS >> 怎么用Css+Div模拟table的边框
  详细解决方案

怎么用Css+Div模拟table的边框

热度:617   发布时间:2012-02-16 21:30:36.0
如何用Css+Div模拟table的边框
如何用Css+Div模拟table的border= "1 "时的边框样式?
Thanks

------解决方案--------------------
<div style= "border: 1px solid; border-color: #E6E6FA #A9A9A9 #A9A9A9 #E6E6FA ">
<div style= "border: 1px solid; border-color: #A9A9A9 #E6E6FA #E6E6FA #A9A9A9; margin: 2px ">
div
</div>
</div>
<br/>
<table border= "1 ">
<tr>
<td> table </td>
</tr>
</table>
  相关解决方案