cellspacing - Cell Spacing

Specifies the space between a table border and cells, and between cells in pixels.

Category

format

Syntax

cellspacing="n"

Usage

In Design mode, click All Properties and look for cellspacing under format.

By default a control group has no border (border="0").

Examples

This Table control specifies cell spacing.
<xp:table cellspacing="16">
	<xp:tr>
		<xp:td>
			<xp:label id="label1" value="row 1, column 1"></xp:label>
		</xp:td>
		<xp:td>
			<xp:label value="row 1, column 2" id="label3"></xp:label>
		</xp:td>
	</xp:tr>
	<xp:tr>
		<xp:td>
			<xp:label value="row 2, column 1" id="label2"></xp:label>
		</xp:td>
		<xp:td>
			<xp:label value="row 2, column 2" id="label4"></xp:label>
		</xp:td>
	</xp:tr>
</xp:table>