mjsulliv Posted April 2, 2010 Share Posted April 2, 2010 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 More sharing options...
jeffman Posted April 2, 2010 Share Posted April 2, 2010 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 More sharing options...
ShadowMage Posted April 2, 2010 Share Posted April 2, 2010 You could also set them to display: inline ...or just Google them.Yay! It's Google again! Link to comment Share on other sites More sharing options...
mjsulliv Posted April 2, 2010 Author Share Posted April 2, 2010 Thanks -- I give both a try. Yay! It's Google again! I kinda liked Topeka Link to comment Share on other sites More sharing options...
thescientist Posted April 2, 2010 Share Posted April 2, 2010 so did Kansas Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.