第十七天
今天总结好了3种边框的修改方式
<body> <table width="500" border="0" bgColor="green" align="center" cellspacing="1" > <tr bgColor="gold"> <!--利用背景颜色在无边框 内边距1px 里面显示边框属性--> <td>我的巴拉巴拉</td> <td>我的巴拉巴拉</td> </tr> </table> <table width="500" border="1" bgColor="green" align="center" rules="all" > <tr bgColor="gold"> <!--利用rules规则设置边框边距和填充--> <td>我的巴拉巴拉</td> <td>我的巴拉巴拉</td> </tr> </table> <!--<style type="text/css"> .g{border-collapse:collapse};--> </style> <table class="g" width="500" border="1" bgColor="green" align="center" style="border-collapse:collapse;"> <tr bgColor="gold"> <!--利用css collapse修改很细的边框--> <td>我的巴拉巴拉</td> <td>我的巴拉巴拉</td> </tr> </table> </body>