Why tableless design, DIV vs. TABLE
Everybody says avoid tables when you are creating design elements like layouts, themes, pages... Why?
Because:
- Main
(X)HTML says; tables are for tabular data not for website-layout - Speed
Tables have much design code than content, divs are faster for download. Save bandwidth! - Usability
Tables let confusing while creating layout(You have to remember which TR or TD ends in which template file) - Debug
Debug is easier with CSS, mostly all design code is in one css file - Update
Change design anytime just using css-style files without need to touch template files - Overview
With CSS you can separate design from code. - Cache
Most CMS support cache for CSS. Less work for server-cpu and more speed for visitors. - Print
Printing pages in css-layout are easier than pages with tables - Position
Absolute or fixed positioning is not avaliable for table-cells. - Priority
With tables you cannot set priority of content. (Browsers scan from top to bottom) - Access
Disabled people who surf with help of special devices cannot get the content of pages with tables in the right order.
Similar entries
- How do I secure my web site?
- Best CMS and Web 2.0 Software in PHP-MySQL
- Multiple Virtual Hosts on Localhost of Apache / WAMP
- Powertoys for Windows XP let u work faster and easier
- Best free image-editors for Windows
- Best websites for cool free fonts to download
- Fix Google Adsense Search and Drupal Conflict
- Image watermark with PHP
- Check password strength / safety with PHP and Regex
- CuteFTP or FTP Client lists just 1998 / 2000 files
- Comparison of free Shopping Carts - 2009
- Web2 Style CSS Dynamic Menu with Arrows and Background-Images
- Mouseover images with CSS
- Check password safety with JavaScript while typing
- DropDown / Rollover Menu with pure CSS / HTML
- Drupal 6 vs. Joomla 1.5 (2009)
- Pure CSS Mouseover Menu without Javascript
- Web 2.0 Style two Side Background, Dark to Light Effect
- Comparison of HDGuard, DeepFreeze, Dr-Kaiser and SteadyState
- PHP - Tables

Comments
It is easy for me to use
It is easy for me to use tables. But I will change to divs.
Post new comment