Edit based on Question Edit
Seeing the HTML you have, my biggest suggestion is nesting some of the divs to get the control you want. While I'm not using your specific IDs in my sample below, the nesting should show you how to adapt what you have to where you want to be. (I hope!)
Original Answer
I'm going to have to make some assumptions about what you're trying to do in order to help you out. Lining up the bottoms will be the single hardest part, so I'm going to just go ahead and pretend it's not really the nice pretty square you've displayed. (I still can't do lining the bottoms without resorting to tables. Although I believe some of the frameworks, like those mentioned in Josh's answer, may be able to make that happen.)
So the assumptions I'm going to make, to keep life relatively simple, are thus:
- You need to have an overarching header
- You need a left column and a right column
- The right column has three discreet elements in it
- The left column has two discreet elements in it
Also to make life easier, I'm not going to break the stylesheets into their own CSS file; I'm going to assume that you know CSS and HTML already, and will be able to move them appropriately based on this basic HTML layout I'm about to throw out there.
So the basic layout would probably look something like such:
<html>
<head><!-- blah blah blah --></head>
<body>
<!-- the overall container -->
<div style="width: 500px; margin-left: auto; margin-right: auto;">
<!-- the header -->
<div style="width: 100%; height: 100px;">
My headery goodness here
</div>
<!-- the left column -->
<div style="float: left; width: 320px;">
<div>
My charty goodness here
</div>
<div>
My legendary goodness here
</div>
</div>
<!-- the right column -->
<div style="float: left; width: 180px;">
<div>
Info 1
</div>
<div>
Info 2
</div>
<div>
Info 3
</div>
</div>
</div>
</body>
</html>
You'll need to season the dimensions and add padding
to taste, and if you do want the bottoms to line up, I recommend setting explicit height
, min-height
, max-height
and overflow
properties on all of the div
s.
Finally, again, you really want to separate the CSS I've embedded here into appropriate ID or class selectors in a separate CSS file. This was just a rough hash-out to get you started on the layout; it's by no means a complete answer.