What to choose: tables or CSS layers?
What to choose: tables or CSS layers?
I've heard that now many people use layers instead of tables in order to arrange information. Is it true? If yes what are the pros and cons of both methods?
Pros and Cons
Well, the pros to HTML is it is much easier. The format is much more simple to write up, alot less coding to do. The con, is it is not as customizable as CSS is, you just can't do as much with it.
CSS on the other hand is completely customizable, down to the pixel, but much more complicated to write.
CSS on the other hand is completely customizable, down to the pixel, but much more complicated to write.
-
- Posts: 6
- Joined: Mon Dec 04, 2006 12:03 pm
yes
yes iam with you in this point man
Tables are not upto the present trend. Currently, much effort is being put up to totally separate a site's contents from its presentation. CSS was developed in order to achieve this. No doubt, this has several advantages including the fact that if you have the contents and the presentation well separated, it is a lot easier to change the presentation of all the pages at once. You will just need to modify the "presentation" area. However, if you use tables, you are mixing the contents with the presentation. So if you want to stick to the present trend and keep the W3c people happy, you better use CSS.
However, some old browsers still don't support CSS and you will be in trouble if most of the visitors of your site use those old browsers. So its your choice finally.
However, some old browsers still don't support CSS and you will be in trouble if most of the visitors of your site use those old browsers. So its your choice finally.