I'm trying to layout my html page the "correct" way (as opposed to using tables). The problem is, I cannot set up the layout the way I like using divs without absolute positioning. What I'd like is a "container" div, and inside this container, I'd like six divs: two rows of 50% width divs and two rows of 100% width divs. All rows using relative positioning so that the divs can expand vertically with text. I'll attempt to illustrate:
[tt] _______
|1 |2 |
|___|___|
|3 |4 |
|___|___|
|5 |
|_______|
|6 |
|_______|
[/tt]
(See attachment for non-ascii representation)
I get all hung up on the css float property, and I can't get the divs to line up properly. Can someone help me with a code sample? Thanks in advance!
[tt] _______
|1 |2 |
|___|___|
|3 |4 |
|___|___|
|5 |
|_______|
|6 |
|_______|
[/tt]
(See attachment for non-ascii representation)
I get all hung up on the css float property, and I can't get the divs to line up properly. Can someone help me with a code sample? Thanks in advance!