好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

想用table实现这样的布局_html/css_WEB-ITnose

table 布局

想用表格实现这样的布局,求代码。


回复讨论(解决方案)

看不见你的图啊 卡卡西老师

直接用表格完成就可以.插入表格...

看不见你的图啊 卡卡西老师
图片:

嵌套一下
边框处理一下就是了

      1  2         3  4  5      

add css:

table{     border-collapse:collapse;    margin:-1px;}.out td {    border:1px gray solid;}.in1 td,.in2 td{    border:none;}.in1 td:first-child,.in2 td:not(:last-child){    border-right:1px solid red;} 

用表格还是有点麻烦,以后更改费事一点,div好点

有个方法,不用嵌套表格。

                                                  

DIV欢迎您:

 	 		 图片布局 	 	 	  

查看更多关于想用table实现这样的布局_html/css_WEB-ITnose的详细内容...

  阅读:30次