[thelist] how to display forms inline?

Dunstan Orchard dunstan at 1976design.com
Thu Oct 3 09:30:00 CDT 2002

Hey there,

I didn't get any response from css-discuss, so maybe someone here can help out?


does anyone know how to display a set of forms (there's 3 on that page, top
right) in-line?

On IE the 2 dropdowns and the input box all line up just fine - in MOZ and
opera they display block and screw everything up.

The forms are displayed inline, the divs surrounding each of the form elements
are also displayed inline and the whole thing is floated right in a
surrounding div:

/*** set all the forms in the nav bar to display inline ***/
#navmenu form {
	margin: 0px;
	padding: 0px;
	display: inline;

/*** set the div that has to go around the form elements in the nav bar to
display inline ***/
#navmenu form div {
	display: inline;

has anyone managed to do this elsewhere?

many thanks - dunstan

Dorset, England

More information about the thelist mailing list