HTML CSS Reference/HTML Attributes Reference/cellspacing — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
Admin (обсуждение | вклад) м (1 версия) |
(нет различий)
|
Текущая версия на 08:20, 26 мая 2010
"cellspacing" Example
<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>
</tr>
</table>
</BODY>
</HTML>
cellspacing is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<table> |
+----------------+--------------------------------------------------------------+
"cellspacing" Syntax and Note
Note:
This attribute sets the width of the empty space between cells in a table.
Its value can be an integer that specifies the amount of space in pixels.
Its value can also be a percentage of the total cell size to use as space.
Syntax:
<table cellspacing="value"> . . . </table>