my goal here was to have the first one on the top left of the page, and the second one immediately to the right of it, but the second one is still below the first one.
Could you please point out what I am doing wrong?
Thanks.
11-25-2009, 07:58 PM
CFHutton
float the first one to left, and give the second one a margin that equals the width of the first.
edit: maybe a hair bigger than the first one. Just depends on what you want to do.
A left margin that equals the width of the first div.
Sigh, nite nite time.
11-26-2009, 12:41 AM
dgonz
you need to float both if you want them side by side...
you can put a <div style="clear:both; height:0; overflow:hidden;"></div> after it if you need those cleared, or clear it if needed on the div after that
11-27-2009, 12:25 AM
CFHutton
You're right, and thanks for the quick reply.
I posted twice beyond the time last night. The last one was me remembering the way to get three columns with css.