[Html-widget] newbie question: <br>

Carl Franks fireartist at gmail.com
Fri Feb 9 15:28:24 GMT 2007


On 09/02/07, Will Smith <willbelair at yahoo.com> wrote:
> Hi,
> First time I use this html::widget, and find it very interesting. I need to
> create the form with 3 text boxes in one line and a submit button in another
> line. But it does not matter how I changed the code, css, I still get all of
> them in one line. Could you help showing how to do that, and I want to have
> some space between text boxes, not just one after another.

At a guess, (meaning: untested)...

If your elements have labels, then something like:
label { float: left; padding-right: 2em; }
input[type=submit] { clear: left; }

If they don't have labels, then:
input { float: left; padding-right: 2em; }
input[type=submit] { clear: left; }

Carl



More information about the Html-widget mailing list