set column distances for RadioButtonList

D

DAXU

Hello,

I have a radioButtonList and set RepeatColumns to 2.
However, the distance between radiobutton in column1 and radiobutton
in column2 is too close.

Can someone how to set the distance (either with CSS or not)?

Many Thanks

Jerry
 
N

Nanda Lella[MSFT]

Have you tried using cellspacing for the radiobuttonlist?
I mean something like

<asp:RadioButtonList ID="RadioBtnList" runat="server" RepeatColumns="2"
CellSpacing="10">
<asp:ListItem>Item 1</asp:ListItem>
<asp:ListItem>Item 2</asp:ListItem>
<asp:ListItem>Item 3</asp:ListItem>
<asp:ListItem>Item 4</asp:ListItem>
<asp:ListItem>Item 5</asp:ListItem>
<asp:ListItem>Item 6</asp:ListItem>

</asp:RadioButtonList>

--------------------
From: (e-mail address removed)
Newsgroups: microsoft.public.dotnet.framework.aspnet
Subject: set column distances for RadioButtonList
Date: Tue, 4 Dec 2007 08:23:18 -0800 (PST)
Organization: http://groups.google.com
Lines: 11
Message-ID:
NNTP-Posting-Host: 80.5.93.39
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1196785399 22323 127.0.0.1 (4 Dec 2007 16:23:19 GMT)
X-Complaints-To: (e-mail address removed)
NNTP-Posting-Date: Tue, 4 Dec 2007 16:23:19 +0000 (UTC)
Complaints-To: (e-mail address removed)
Injection-Info: f3g2000hsg.googlegroups.com; posting-host=80.5.93.39;
posting-account=a-mEAAoAAABlXzZHzkVMW2qA_BbvR8Hj
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.11)
Gecko/20071127 Firefox/2.0.0.11,gzip(gfe),gzip(gfe)
Content-Disposition: inline
Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTFEEDS02.phx.gbl!newsfeed0
0.sul.t-online.de!t-online.de!news.glorb.com!postnews.google.com!f3g2000hsg.
googlegroups.com!not-for-mail
Xref: TK2MSFTNGHUB02.phx.gbl microsoft.public.dotnet.framework.aspnet:52366
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Hello,

I have a radioButtonList and set RepeatColumns to 2.
However, the distance between radiobutton in column1 and radiobutton
in column2 is too close.

Can someone how to set the distance (either with CSS or not)?

Many Thanks

Jerry

--

Thank You,
Nanda Lella,

This Posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top