The CellPadding property is used to get or set the amount of pixels between the border and the contents of the table cell.
Note: This function only works if the RepeatLayout property is set to "Table"
Attribute | Description |
---|---|
pixels | Specifies the amount of pixels between the border and the contents of the table cell. |
The following example sets the CellPadding property of a CheckBoxList control: