Name

CELLSPACING — NN all IE 3 HTML 3.2

Synopsis

CELLSPACING=”length"

Optional

The amount of empty space between the outer edges of each table cell. If you set the BORDER attribute of the TABLE element to any positive integer value, the effect of setting CELLSPACING is to define the thickness of borders rendered between cells. Even without a visible border, the readability of a table often benefits from cell spacing.

Example

<TABLE BORDER=2 CELLSPACING=10>...</TABLE>

Value

Any positive integer.

Default

0 (no table border); 2 (with table border).

Object Model Reference

IE

[window.]document.all.elementID.cellSpacing

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.