CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Tips & Solutions

 Radio Button descriptions below the button

Print topic Send  topic

Author Message
dhodgdon

Posts: 80
Posted: 05/13/2005, 11:05 AM

I wanted the radio button description to be centered below the buttons. eg:

    O       O       O
Label1 Label2 Label3

Thanks to DonB for showing how:

Lay out your buttons in a "table" by tweaking the HTML.

<table><tr>
<!-- BEGIN RadioButton RadioButton1 -->
<td align="center" width=50><input type="radio" value="{Value}"
name="{RadioButton1_Name}" {Check}><br>{Description}</td>
<!-- END RadioButton RadioButton1 -->
</tr></table>

You may have to play with the width=50 value depending on the number of characters in your button description. This example does equally space the buttons and fix the column width so if the description is long, it will wrap as long as there are spaces in the description. If you don't want the button and description centered, simply change the TD align to "left" or "right".
_________________
Regards,
David Hodgdon
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.