Solved

flow layout: label on same line as radiobuttonlist?

Posted on 2006-11-15
6
502 Views
Last Modified: 2008-01-09
It looks like radiobuttonlist creates a line break, any workaround in flow layout? (other than absolute positioning with css)
0
Comment
Question by:ottenm
  • 3
  • 2
6 Comments
 
LVL 28

Expert Comment

by:mmarinov
ID: 17947936
Hi ottenm,

it is very strange - i have never had a problem like this.
can you post your html ?


Cheers!
0
 

Author Comment

by:ottenm
ID: 17948019
Sorry I was not clear, using asp controls:

<asp:RadioButtonList id="RadioButtonList1" runat="server"></asp:RadioButtonList>
<asp:Label id="Label3" runat="server">Label</asp:Label>

Which generates a table (the trouble) and a span:

<table id="RadioButtonList1" border="0">
</table>
<span id="Label3">Label</span>

0
 
LVL 28

Accepted Solution

by:
mmarinov earned 250 total points
ID: 17948042
ottenm,

why do something like this

<table>
<tr>
<td valign="top"><asp:RadioButtonList id="RadioButtonList1" runat="server"></asp:RadioButtonList></td>
<td valign="top"><asp:Label id="Label3" runat="server">Label</asp:Label></td>
</tr>
</table>
0
 

Author Comment

by:ottenm
ID: 18130206
Sorry I missed your reply mmarinov, that is a great fix.  There's a little border I can't get rid of with border=0, and the cells seem taller than they need to be, but both are probably just tweakable fixes.

Thanks for your suggestion-

Mike
0
 
LVL 28

Expert Comment

by:mmarinov
ID: 18130475
No problem ottenm,

Avout borders you can check your styles.

regards
Martin
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question