Welcome to WebmasterWorld Guest from 54.162.141.212

Forum Moderators: not2easy

Message Too Old, No Replies

Moving a div to bottom

positioning div box model question

     
9:06 am on Jan 16, 2008 (gmt 0)

5+ Year Member



Hi all! I've got a simply div positioning question:

I have the next html code (only relevant code)


<div id="wrapper">
<div id="first">foo1</div>
<div id="second">foo2</div>
</div>

both div first and second have variable height.

I know, using css, how to make the next things:
1.- display foo1 first than foo2 in this way:
foo1 foo2
2.- display foo1 after foo2:
foo2 foo1
3.- display foo1 first than foo2 vertically:
foo1
foo2

And the question is:
┐How can I make foo2 display first than foo1 vertically?
foo2
foo1

Thanks all!

3:24 pm on Jan 16, 2008 (gmt 0)

10+ Year Member



deleted.. missed the fact both divs had varying heights.
9:33 am on Jan 17, 2008 (gmt 0)

5+ Year Member



I think that maybe it's not possible to do.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month