W3Schools.com

ASP.NET CellSpacing Property


RadioButtonList Control Reference Complete RadioButtonList Control Reference

Definition and Usage

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

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

Syntax

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

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


Example

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

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

Some content

</asp:RadioButtonList>
</form>

Show example »

RadioButtonList Control Reference Complete RadioButtonList Control Reference
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$7.95/mo SEO Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Free Website Templates Free CSS Templates
Make Your Own Website
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE