dreamwest Posted November 17, 2008 Share Posted November 17, 2008 is there any benefit by using css to position your content, rather than using tables?? Quote Link to comment Share on other sites More sharing options...
ifubad Posted November 17, 2008 Share Posted November 17, 2008 Advantage of CSS include cleaner codes, smaller html pages and separation of content from layout. Making site-wide layout changes is simpler than tables method. Disadvantage is that older browsers may not support it well (eg. NS 4.7x is really bad), whereas even the most recent browsers are not yet 100% compliant - very close but still not one-hundred-percent. Quote Link to comment Share on other sites More sharing options...
haku Posted November 17, 2008 Share Posted November 17, 2008 Also Yahoo is working on making their browser more semantically aware, meaning that they will look at tags, and expect the data inside those tags to be the type of data that is in the tag. For example if you have a label for an input in a paragraph (p) tag, it's not going to realize it's a label. So if you have non-tabular data in a table, it's going to think it's tabular data, and your page won't index as well as if you set everything up semantically. And you know if Yahoo is doing it, google will be following soon. Quote Link to comment Share on other sites More sharing options...
SuperBlue Posted November 17, 2008 Share Posted November 17, 2008 Also keep in mind that external stylesheets are Cached by the browser, which again may make your page load faster. You may also wan't to consider using CSS Sprites, as this often creates a huge improvement, both in file-sizes and in limiting the http requests to load a page. Quote Link to comment Share on other sites More sharing options...
BoltZ Posted November 18, 2008 Share Posted November 18, 2008 You tell me sir. Which is easier and cleaner <table> <tr> <td> Hello </td> </tr> </table> OR <div> Hello </div> The answer should be staring you in the face Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.