Well this is the same never-ending-story about tables vs. css for layout. CSS purist would even say CSS layouts are faster to download? faster to be rendered by the browser? less code??? In real life, and having the "visual" styles in a proper CSS sheet, table layouts have much less characters than doing the same with CSS. Dont believe it? Just try to do a full browser height, fixed width, horizontally centered, header/2 columns content/footer simple layout with CSS and with tables... get the code, paste in Word and do a word count. CSS code is no shorter than x2 times bigger than the table code! Tell me, how many CSS stuff do you need to do to replicate a 100% width 100% height text in the middle of the screen layout, simple as:
<table width=100% height=100%><tr><td align="center" valign="middle">Some text</td></tr></table>
or
* {
margin:0px;
padding:0px;
}
html, body {
height:100%;
min-height: 99%;
}
.test {
border: 1px solid #cccccc;
height:100%;
position:relative;
}
.test2{
display:inline;
height:24px;
width:24px;
left:50%;
top:50%;
}
<div class="test"><div class="test2">test</div></div>
So CSS is better for layout because what? Easier to maintain? Tell me how many times would anyone tweak the layout of a page when is completely finished and working? Unless no wife/husband at reach :D Less code? yeah right, "more" is "less" right, like 1 is 0? Better design/code separation? Sure, your design do not need those DIVs or SPANs or P or whatever tags you want.
I always think: use hybrid code for do whatever you want in less time to render the way you want, no matter if css or tables or css + tables! For me, tables as for layout are the best, css for optimizing and rendering visuals. At the end, clients wont care a cucumber if their sites are made with css or with tables or with wood and nails. :) Tell me a good reason why should I use a pure CSS approach to get say a 3 columns totally centered by the width, fixed middle column, full browser height WITHOUT having CSS tweaks, fixes, hacks... everybody working really into website creation knows tables rendering is more visual consistent and less code needed than CSS among all the browsers around.
Quick test :) <div width="100%" height="100%">test</div>
would this work alone??