X
HOME HTML5 CSS3 JAVASCRIPT SQL PHP5 JQUERY ANGULAR BOOTSTRAP3 XML MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

ASP.NET CellSpacing Property


CheckBoxList Control Reference Complete CheckBoxList Control Reference

Definition and Usage

The CellSpacing property is used to get or set the amount of pixels between table cells in the CheckBoxList.

Note: This function only works if the RepeatLayout property is set to "Table" (default).

Syntax

<asp:CheckBoxList CellSpacing="pixels" runat="server">
Some Content
</asp:CheckBoxList>

Attribute Description
pixels Specifies the amount of pixels between the table cells.


Example

The following example sets the CellSpacing property of a CheckBoxList control:

<form runat="server">
<asp:CheckBoxList id="rb1"
runat="server" CellSpacing="15">

Some content

</asp:CheckBoxList>
</form>

Show example »

CheckBoxList Control Reference Complete CheckBoxList Control Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook