Keep Form Labels on Same Line

liunx

Guest
On my personal portal (<!-- m --><a class="postlink" href="http://start.wanderingjew.net">http://start.wanderingjew.net</a><!-- m -->), I have a search bar at the top, where you enter a search query, and select your directory from a radio button field. I have just added a choice that makes the line too long, and I want to move the entire "GU Law Directory" entry (including the radio button itself) down to the next line. <br />
<br />
The catch (the reason why a simple <br> won't do the trick) is that the entire search bar is created dynamically in PHP from a mySQL database. I may remove or add entries, and i'm looking for a way (either pure HTML, or Javascript) to force elements (button/label pairs) to not break themselves up between lines. <br />
<br />
Any suggestions?<!--content-->Try wrapping each input/label pair in a div and applying a float:left style to those divs.<!--content-->
 
Back
Top