|
HTML tables have historically been used to layout Web pages as well as represent tabular data. Currently experts discourage (or downright condemn) use of tables to achieve page layout. Some people have [mis] interpreted this to mean all tables are bad and should be avoided. Consider what the W3C has to say in the HTML 4.01 Specification http://www.w3.org/TR/html4/cover.html regarding tables and page layout:
Note the phrase To minimize these problems and the word should (my emphasis). In most cases Web page portability and source code readability (and thus, maintenance) will benefit by using tables for tabular data and using stylesheets for page layout. A common feature of Web pages is a right or left column of site navigation or related links and a "main content" column. While this can be accomplished with tables, the content is better described as "a page of free-flowing content with a navigation section" rather than "tabular data." |