HTML/CSS/Table Attributes/cellspacing

Материал из Web эксперт
Перейти к: навигация, поиск

"cellspacing" sets the width of the empty space between cells in a table

    
<HTML>
<head>
<Title>Example For cellspacing</Title>
</head>
<BODY>
<table width="542" cellSpacing="15">
   <tr><th height="79" colspan="2">This table has cellSpacing="15"</th></tr>
   <tr><td height="79">Cell 1</td>
       <td height="79">Cell 2 content</td>
       <td height="79">Loooooooooooooooooooooooooooooooooong</td>
   </tr>
</table>
</BODY>
</HTML>