Results 1 to 3 of 3

Thread: Radio Button Text Display

  1. #1

    Thread Starter
    Fanatic Member aconybeare's Avatar
    Join Date
    Oct 2001
    Location
    UK
    Posts
    772

    Radio Button Text Display

    Hi,

    Does anyone know how to prevent the text in a radiobutton from displaying beneath the button itself? This only applies when the text is quite long, I've used a <br> to illustrate the point.

    Code:
    <asp:radiobuttonlist id="SubmissionType" runat="server">
    	<asp:listitem runat="server" value="New" Selected="True">This manuscript has never been submitted.</asp:listitem>
    	<asp:listitem runat="server" value="Resubmit">This manuscript is a revised version of a previous submission.<BR><FONT SIZE="2">(You will need the manuscript number assigned to the previously submitted version.)</FONT></asp:listitem>
    </asp:radiobuttonlist>
    I've tried to upload a small image showing what I mean but I'm getting upload errors. Even tried zipping it without success, sorry. If you don't understand my description you'll have to put the above code into a form and display it sorry!

    Cheers Al

  2. #2
    Hyperactive Member Rocketdawg's Avatar
    Join Date
    Feb 2003
    Location
    Back in the doghouse
    Posts
    294

    Re: Radio Button Text Display

    aconybeare

    This calls for a little CSS. I sketched out a quickie that might help:

    HTML Code:
    <div style="FONT-SIZE: 10pt; COLOR: #696969; FONT-FAMILY: Georgia, Arial"><asp:radiobuttonlist id="SubmissionType" runat="server">
    					<asp:listitem runat="server" value="New" selected="True">This manuscript has never been submitted.</asp:listitem>
    					<asp:listitem runat="server" value="Resubmit">This manuscript is a revised version of a previous submission.</asp:listitem>
    				</asp:radiobuttonlist>
    				<div style="DISPLAY: inline-block; FONT-SIZE: 9pt; TEXT-INDENT: 18pt; FONT-STYLE: italic">
    					(You will need the manuscript number assigned to the previously submitted 
    					version.)</div>
    			</div>
    Hope it helps
    Dawg

  3. #3

    Thread Starter
    Fanatic Member aconybeare's Avatar
    Join Date
    Oct 2001
    Location
    UK
    Posts
    772

    Re: Radio Button Text Display

    Dawg,

    That's spot on, just what I needed Thanks

    Cheers Al

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width