HomePage | RecentChanges | Preferences | Newbie Help
- Are there any problems with using tables for layout?
- What problems can I have with using tables for layout?
- Is it all right to use tables for layout?
Sid Ismail says (July 19, 2001, on alt.html)--
Nesting tables is OK. The only criticisms I have are:
- Longer waiting time, if markup incorrect (no widths);
- If img's included, no width and height dimensions also contribute.
- Tough to diagnose a problem if markup not tidy.
To speed up your loading, the following may assist:
- In tables, specify width in all TABLE and TD tags.
- For images, always specify WIDTH, HEIGHT and ALT.
- Try and optimise your images. A lot of the time, optimising a JPG does not result in visible loss.
- Preload images if they are to be used in mouseovers, otherwise not!
- Animated pics are large in size, and should preferably be placed in bottom of page, or dispensed with.
- Banners are unnecessary.
- Try and restrict your enter page to about 35K.
- Use BGCOLOR as well as BACKGROUND in BODY tag - that way your text is at least readable. Use similar colour.
- If you have a counter eg., try and load the image from your server instead of going to their url for it - in other words, save their image in your site.
Bear in mind that tables for layout purposes (for non-tabular data) are deprecated (http://www.w3.org/TR/html401/struct/tables.html#h-11.1) and that the latest browsers support css well enough even for producing columnar layouts without tables.
- This is true, but bear in mind that normal users don't have the latest browsers, unless they [upgrade]...
Some recent links and ressources if you feel like abandoning layout tables:
Stephanie prepares for a flogging from Matthias ; )