w3schools
  
HOME HTML CSS XML JAVASCRIPT ASP PHP SQL MORE...   References Examples Forum About

ASP.NET CellPadding Property


CheckBoxList Control Reference 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 »

CheckBoxList Control Reference Complete CheckBoxList Control Reference

DreamTemplate

WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Top 10 Web Hosting
UK Reseller Hosting
Web Hosting
FREE Web Hosting
Top Web Hosting
Cheap UK Web Hosting
WEB BUILDING
XML Editor – Free Trial!
FREE Flash Website
FREE Web Templates
SEO Company
EDUCATION
US Web Design Schools
HTML Certification
JavaScript Certification
XML Certification
PHP Certification
ASP Certification
STATISTICS
Browser Statistics
Browser OS
Browser Display
FLIGHT TICKETS
Find the cheapest flight
to any destination now!
SHARE THIS PAGE