不同的制表方法
老师们:我想在:
<div id="mydiv" style="visibility:hidden;position:absolute;width:100;height:80;border:1 solid;z-index:100"></div>
里加1列、4行的表,怎么弄呀?不能插入<table>...</table>
实现如图的效果:

[[it] 本帖最后由 anjincheng 于 2008-6-16 15:46 编辑 [/it]]
<div style="border:1px solid #38713a;width:200px;height:auto;overflow:hidden;"> <div style="border:1px solid #38713a;width:auto;line-height:22px;text-align:center;margin:2px;">1行的内容</div> <div style="border:1px solid #38713a;width:auto;line-height:22px;padding-left:5px;margin:2px;">2行的内容</div> <div style="border:1px solid #38713a;width:auto;line-height:22px;padding-left:5px;margin:2px;">3行的内容</div> <div style="border:1px solid #38713a;width:auto;line-height:22px;padding-left:5px;margin:2px;">4行的内容</div> </div>