Click to See Complete Forum and Search --> : Keep Form Labels on Same Line


nudave04
05-11-2004, 10:11 PM
On my personal portal (http://start.wanderingjew.net), 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.

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.

Any suggestions?

ray326
05-11-2004, 10:59 PM
Try wrapping each input/label pair in a div and applying a float:left style to those divs.