RSS

Using CSS with Tables

Sat, Nov 22, 2008


CSS

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...



Tables are currently the most common method of laying
out/structuring a web page. Although the use of tables for this
purpose is considered, by many, to be a misuse, it is by far the
easiest way of organising web page content.

Most purists would say their use is now obsolete and you should
switch to Cascading Style sheets for website /web page layout.
However personally I still prefer tables for the basic outline
structure in what is called a “minimal table layout”.

In the minimal table approach the outline structure is created
using a table, and positioning within the table is done using
cascading style sheet elements. This is the approach I
currently use, and probably will continue to use over the next
few years.

Not only can you use CSS for the element layout they can also be
used to control the table itself, like table width or background
colour. This way, just by making a change in the external CSS
control file you can change the tables for all web pages, and
with it the appearance/layout of the entire website.

One of the other advantages of continuing to use tables for page
layout is that the pages are still easy to edit with most web
page editors, whereas if you use CSS themselves for positioning
then you will need a compatible editor.

Tables have been the mainstay of web page layout for many years
and will continue to be over the next few years. However when
combined with Cascading style sheets they can become very
flexible and powerful, as well as simple to use.

To see how easy it is to do see Web Page Layout Using
Tables and CSS

This post was written by:

admin - who has written 283400 posts on General Articles From The World.


Contact the author

Leave a Reply

You must be logged in to post a comment.