Click to See Complete Forum and Search --> : forms and line break


Beach Bum
06-10-2003, 11:09 PM
I have three forms that I would like to line up in horizontally together. But it appears there is an auto line break when using forms. Is there a way around this other than trying to build a table structure?

havik
06-10-2003, 11:55 PM
What if you used the 3 column layout here:
http://www.thenoodleincident.com/tutorials/box_lesson/boxes.html

And put the forms in each column.

Just a thought,

Havik

Bullschmidt
06-12-2003, 02:28 AM
How about this:

<head>
<style type="text/css">
form {margin:0; padding:0}
</style>
</head>

Beach Bum
06-12-2003, 02:13 PM
havik - that is a cool site

Bullschmidt - that does not seem to stop the break

I ended up just redesigning the layout. But thanks for the input. :)

Bullschmidt
06-12-2003, 03:48 PM
Beach Bum,

OK, re-reading your post I see that you really are talking about line breaks. Sorry I thought you were talking about the extra vertical space that is involved around the form tag. :rolleyes:

nkaisare
06-12-2003, 03:55 PM
CSS:
form {float: left}
.afterform{clear: left}

HTML:
<form>...</form>
<form>...</form>
<form>...</form>
<div class="afterform">...

David Harrison
06-12-2003, 04:30 PM
If you want to put a form in a particular place you could do this:
<form style="position:absolute;top:123px;left:456px;" ...