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>
|
Try-It-Yourself Demos
Set the
CellPadding of a CheckBoxList control
Complete CheckBoxList Control Reference
Unlimited Disk and Transfer Hosting - New from Go Daddy!
Go Daddy Unlimited Hosting is the reliable, cost-effective
choice for site owners who want superior speed and reliability.
Available for Linux or Windows, our Unlimited Hosting accounts
come with unlimited disk space and bandwidth, 1,000 email
accounts, 50 MySQL Databases, a FREE SSL Certificate and over
50 FREE downloadable applications and utilities available through
our exclusive Hosting Connections. Count on the world’s largest
hostname provider to keep your site up and running—even when you’re not!
Take the uncertainty out of Web hosting and let GoDaddy.com
put service, performance and value back in. No matter which
hosting type or plan you choose, your site receives 24/7
maintenance and protection in our world-class data center.
Virtual Dedicated, Dedicated Server and unlimited plans also available.
Save 10% on web hosting - Enter code w3tenoff at checkout
 |
|
Get Your Diploma!
W3Schools' Online Certification Program is the perfect solution for busy
professionals who need to balance work, family, and career building.
The HTML Certificate is for developers who want to document their knowledge of HTML, XHTML, and CSS.
The JavaScript Certificate is for developers who want to document their knowledge of JavaScript and the HTML DOM.
The ASP Certificate is for developers who want to document their knowledge of ASP, SQL, and ADO.
|
|