ASP.NET CellPadding Property
Table control
Definition and Usage
The CellPadding property is used to get or set the spacing (in pixels) between the cell border and the cell content.
Syntax
Some Content
| property | Description |
|---|---|
| px | Specifies the spacing (in pixels) between the cell border and the cell content. |
Example
The following example sets the CellPadding property of a Table control:
Demo Example »
Table control