You want to use negative fields and float: left and right
to create a div called a βcontainerβ, make it the width of your minimum display.
Then do something like this
I created this page so you can see it live, its a small version, but you can adjust the width and height as needed.
http://luistovar.com/divs.html
<center> <div id="container"> <div id="a"><font color="white">A</font> <div id="e"><font color="white">E</font></div> </div> <div id="b"><font color="white">B</font></div> <div id="c"><font color="white">C</font></div> <div style="clear:right"></div> <div id="d"><font color="white">D</font></div> </div> </center>
Now for your css
#container { width:400px; } #a { width: 400px; height:60px; background-color:#333333; } #b { width:80px; height:100%; margin:-30px 0px 0px 40px; float:left; background-color:#666666; } #c { width: 250px; height:400px; margin:10px 20px 0px 0px; float:right; background-color:#999999; } #d { width: 250px; height:40px; margin:10px 20px 0px 0px; float:right; background-color:#ff0220; } #e { width: 160px; height:30px; margin:10px 20px 0px 0px; float:right; background-color:#ff0220; }
Adjust the width and height as needed
I added background colors so you can see where the landings are. I have not tested this, but it should be pretty close. Hope this helps
Louie source share