Jump to content

How Do I keep a fieldset from moving to the next line


mjsulliv

Recommended Posts

I have two fieldsets:

		 <fieldset>			.			.			.		</fieldset>		<fieldset>			.			.			.		</fieldset>

I want them to appear at the same beside each other -- the second to the right of the first -- the same distance from the top. I'd like to do this without absolute positioning.Any Ideas are appreciated.

Link to comment
Share on other sites

A fieldset is a block-level element, like a <p> or a <div>. For block-level elements to layout horizontally, they need to have a CSS float property. Note that elements "inherit" a float property from siblings. When you want the next element to appear on the next "line", you will need to give it a CSS clear property. You can search for those on the School, or just Google them.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...