Webmaster Tips

&
 

May 13 2008

Using CSS Tables Instead of HTML Tables

Published by darrenl at 11:09 pm under Uncategorized Edit This

Developing websites is a lot different than today than it was 5 years ago.  This is partly due to webmaster and web designers switching to using CSS tables instead of HTML tables. What is a CSS table? Well basically it outputs the same table as HTML code but in a different way. It looks the same, but it’s different within the code. Take below for example.


 
   

  

 

   

  

Column 1
Column 2

The same code above can be accomplished with CSS through the code below.

 
    Column 1
  

 

    Column 2
 

Why is the CSS code better? It allows more customization and conforms to multiple browsers better. There are times when you do not want to use CSS tables however and want to use the traditional HTML tables. This is when you are dealing with statistical data.

Whether you are just starting out in web design or thinking about switching to CSS tables, trust me, CSS tables are a lot better.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
Possibly-related Articles:                                        (auto-generated)

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.
Not A Member? Register for Free!