Thursday, March 29, 2012

set column distances for RadioButtonList

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
JerryHave 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: DAXU@.hotmail.com
>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:
<5b0fa9e7-9fe6-4fca-8150-56abb4a67d6e@.f3g2000hsg.googlegroups.com>
>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: groups-abuse@.google.com
>NNTP-Posting-Date: Tue, 4 Dec 2007 16:23:19 +0000 (UTC)
>Complaints-To: groups-abuse@.google.com
>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.

0 comments:

Post a Comment