X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

ASP.NET CellPadding Property


RadioButtonList Control Reference Complete RadioButtonList 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:RadioButtonList CellPadding="pixels" runat="server">
Some Content
</asp:RadioButtonList >

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 RadioButtonList control:

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

Some content

</asp:RadioButtonList>
</form>

Show example »

RadioButtonList Control Reference Complete RadioButtonList Control Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook