
为什么我html里面设置了行间距和列间距都为0px,但是显示出来的效果行间距和列间距不一样呢? 代码如下:
<styletype="text/css">table{border:1pxblacksolid;}tr{margin:0px;}td{margin:0px0px;wid...
<style type="text/css">table{border:1px black solid;}tr{margin:0px;}td{ margin: 0px 0px; width: 50px;height:50px;overflow:hidden;}td img{ height: 50px; width: 50px; margin: 0px auto;}<style type="text/css">table{border:1px black solid;}tr{margin:0px;}td{ margin: 0px; width: 50px;height:50px;overflow:hidden;}td img{ height: 50px; width: 50px; margin: 0px auto;}</style></head><body> <div style="margin:10px auto;width: 769px;"> <table> <tr> <td><img src="66 (1).jpg"></td><td><img src="66(2).jpg"></td><td><img src="66 (3).jpg"></td><td><img src="66 (4).jpg"></td><td><img src="66 (5).jpg"></td> </tr> <tr> <td><img src="66 (6).jpg"></td><td><img src="66 (7).jpg"></td><td><img src="66 (8).jpg"></td><td><img src="66 (9).jpg"></td><td><img src="66 (10).jpg"></td> </tr> <tr> <td><img src="66 (11).jpg"></td><td><img src="66 (12).jpg"></td><td><img src="66 (13).jpg"></td><td><img src="66 (14).jpg"></td><td><img src="66 (15).jpg"></td> </tr>
展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询