Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET Table CellSpacing Property

ASP.NET CellSpacing Property


Table control Table control


Definition and Usage

The CellSpacing property is used to get or set the spacing (in pixels) between cells in the table.

**Note:** This property does not work in FireFox.

Syntax

Some Content

 

property Description
px Specifies the spacing (in pixels) between cells.

Example

The following example sets the CellSpacing property of a Table control:

CellSpacing="20">

asp:TableRow

asp:TableCell

Hello!

Demo Example »


Table control Table control