I'm workin on a two-column layout, with navigation and misc. things in the left hand column, and the main content/articles/etc. in the right hand column. So far this layout is looks the same in FireFox, IE and Opera. I just want to make sure its not too "hacky" or "divy." Everything that will go into the left and right columns will not being using divs. For example I will set up navigation using <a> set to display: block. Anyway here's the CSS and HTML any opinions or ides would be great. Oh, yeah...the reason I set it up this way was to avoid having to use any box model hacks.
HTML (this is what I have between the body tags): <div id="container">
<div id="banner"></div>
<div id="container2"> <div class="thirty"></div>
<div id="left"></div>
<div class="ten"></div>
<div id="right"></div>
<div class="thirty"></div> </div>
<div id="footer"></div>
</div>
The three "invisible" columns are used to align the two main columns. Then the block elements that go into those two columns will be able to fill their entire width. So hopefully the only cross-browser differences will be slight variations in the vertical spacing of what I put into the two main columns.
Couldn't you just lose the .ten and .thirty classes and divs entirely and just manage that using margins?
Tangental: if you want a simple system for building up layouts quickly that's been pretty flexible in my playing with it so far (and automates a lot of the hacking and such for this kind of thing), you could take a look at the Yahoo! UI Library Grids CSS.