ASP.NET CellPadding Property
Complete CheckBoxList Control Reference
Definition and Usage
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"
Syntax
<asp:CheckBoxList CellPadding="pixels" runat="server">
Some Content
</asp:CheckBoxList> |
| Attribute |
Description |
| pixels |
Specifies the amount of pixels between the border and
the contents of the table cell. |
Example
The following example sets the CellPadding property of a CheckBoxList control:
<form runat="server">
<asp:CheckBoxList id="rb1"
runat="server" CellPadding="15">
Some content
</asp:CheckBoxList>
</form>
|
Show example »
|
Complete CheckBoxList Control Reference
Click here to design a Stunning Flash Website for Free
Wix is a revolutionary web design tool that provides anyone with the possibility to create professional and beautiful websites for free.
With e-commerce features, search engine visibility and many more professional tools, Wix is the ultimate solution for creating a spectacular site while saving tons of money.
|