Easy Tutorial
❮ Aspnet Events Aspnet Repeater ❯

ASP.NET CellPadding Property



Definition and Usage

The CellPadding property is used to get or set the spacing between the cell borders and the cell content (measured in pixels).

Syntax

Property Description
px Specifies the spacing between the cell borders and the cell content (measured in pixels).

Example

The following example sets the CellPadding property for a Table control:


❮ Aspnet Events Aspnet Repeater ❯