PDA

View Full Version : Form positioning



lo0ol
12-05-2003, 05:23 PM
Hi,

Is there a way to horizontally position 2-3 forms right next to each other?

form | form | form

All they would have is a image submit button and a hidden value passed, in each form.

GCT13
12-05-2003, 11:46 PM
Yeah. Take a look at the top of this page. "Home", "Produce", "Promote", etc.

5 forms in a row right there.

lo0ol
12-06-2003, 12:02 AM
Those are in a table though. I would rather it to be tableless. :\

GCT13
12-06-2003, 12:12 AM
I'm a tables guy, so can't really help ya.

(I suppose if you can figure out how to position say some images next to each other tablelessly using css, then simply replace the images with the forms...?)

lo0ol
12-06-2003, 12:18 AM
The trouble with forms is that they automatically have a break after them. I think. I'm still learning aswell. :\

GCT13
12-06-2003, 12:33 AM
Dern forms. They always ruin everything.

chromate
12-06-2003, 03:47 AM
not totally sure how to do it with CSS. I would just use tables :)

Something like this may work though (not sure)

<div style="width: 100px; display: inline;"> <form>...</form> </div>

<div style="width: 100px; display: inline;"> <form>...</form> </div>

<div style="width: 100px; display: inline;"> <form>...</form> </div>

I think that will position each division one after the other. Bit dodgy though.

lo0ol
12-06-2003, 10:50 AM
Thanks chromate. All I needed to do is add a display:inline to each form. Don't even need all of the divs. Rocking.