CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Tips & Solutions

 HOWTO: Multi-column Checkbox List

Print topic Send  topic

Author Message
DonB
Posted: 05/25/2006, 5:45 PM

Create a container (<DIV>, <TD>, whatever) having the width desired. Within
that container, structure your CheckboxList like this:

<!-- BEGIN CheckBoxList sArea -->
<div style="overflow:hidden; white-space:nowrap;
float:left;width:160px;">
<input type="checkbox" name="{sArea_Name}" value="{Value}"
{Check}> {Description}
</div>
<!-- END CheckBoxList sArea -->


I put this into a 480px wide <DIV> and it produces 3 neat columns of
checkboxes. Although I'd really rather the flow be top to bottom, this is
simple and suffices for my needs. It flows left to right.

--
DonB

http://www.gotodon.com/ccbth



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.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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