Css design versus tables
Wednesday, January 28th, 2009CSS also known as cascading style sheets can be used for entire website layouts. But why would you use them rather than the tables that have been used for ages?
CSS is not only good for making your text look pretty. You can position elements of your website with it. The reason most modern web designers push for tableless designs can be confusing for those not familiar with search engine optimization and standards based design. The use of style sheets cuts down on the code which not only helps web page loading time, but also assists search engines in indexing your website.
Tables are bulky because they require multiple tags such as:
<table>
<tr>
<td></td>
</tr>
</table>
That is your basic table requirement. And every time you want to add newly positioned content you have to add nested tables. With CSS you can simply use <div></div> to accomplish the same thing above.
The next time you start a design, use DIVs to make it happen and you will be pleasantly surprised about how much more efficient it is.








