标签:
cellpadding 是边框与其内容的间隙大小;
cellspacing 是边框与边框之间的间隙大小;
<body>
//把表格背景设为黑色、单元格背景设为白色,边距设为0,表格单元格间距设为1。
<table width="100%" border="0" bgcolor="#000000" cellpadding="0" cellspacing="1"> <tr> <td height="100" bgcolor="#FFFFFF"></td> <td bgcolor="#FFFFFF"></td> <td bgcolor="#FFFFFF"></td> </tr> </table> </body>
标签:
原文地址:http://www.cnblogs.com/jinshui/p/5590621.html