表格单实线、粗实线

cellpadding 是边框与其内容的间隙大小;

cellspacing 是边框与边框之间的间隙大小;

注意:border是表格和单元格的边框线,不单单指表格外边框

<body>
//把表格背景设为黑色、单元格背景设为白色,边框线设为0,边距设为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>
原文地址:https://www.cnblogs.com/jinshui/p/5590621.html