I need a table layout for a webpage, but since someone decided that we should no longer use <table>s to do it, I’m looking to do it with <div>‘s.
As far as I know, the standard way to do this is to apply float: left to subsequent <div>s that are supposed to fit on the same row. This tends to break the layout if I’m trying to center the page.
Is there a good way to create a table-based <div> layout without relying on floats? I long for the good old days when I could get a table-based layout done in three minutes using just <table>, <tr> and <td>.
This gives you an idea of what can be done:
CSS
http://jsfiddle.net/jasongennaro/p4LpT/1/