View Single Post
Old 01-19-2009, 05:30 AM  
iMind
Confirmed User
 
Join Date: Nov 2007
Posts: 937
Quote:
Originally Posted by Tempest View Post
All the other stuff is just crap and misleading at best. eg. a typical spreadsheet type display of data using purely CSS will end up with far more on page code than using a table WITH CSS. Using a table without CSS would be the worst.. Bottom line, use both intelligently.
sure, if you have a designer that doesn't know what he's doing..
A good CSS designer can create a hella complicated design in just a few lines of code with CSS

I'm not sure what kinda CSS you've seen, but CSS layouts always yield less code if done correctly.. probably 20% of the code of a tabled design

Code:
<div id="header"></div>
<div class="container">
<div id="left"></div>
<div id="right"></div>
<div class="clear"></div>
</div>
<div id="Footer"></div>


Compare that, to the tabled example below - same layout 


<table width="95%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td colspan="2"></td>
  </tr>
  <tr>
    <td width="20%"></td>
    <td width="80%"></td>
  </tr>
  <tr>
    <td colspan="2">&nbsp;</td>
  </tr>
</table>
that's as basic as it gets you can imagine how the tabled layout would multiply in a more complicated case

Last edited by iMind; 01-19-2009 at 05:31 AM..
iMind is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote