469,160 Members | 1,848 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,160 developers. It's quick & easy.

Choosing Layout: Css-Layout or Table-Layout

Hi,

After I designed my page (using several tables), while I was surfing
the web I considered a professional looking web site which had been
used DIV tags instead of tables, with many css classes. for sure
designing in div layers is much more time consuming. so there should be
a good reason for using table less layout. May be it affect Search
Engines Ranking, Accessibility or just for Separating Structure and
Presentation. anyway I don't know to continue my old way or change my
design. can anybody help?
Thanks
H. Pourfard

Jun 19 '06 #1
1 995
I find DIV's much easier to work with than Tables, and significantly more
readable in the source code, hence I can be a lot more productive using DIV
positioning. If you step back in time to the creation of the web - Tables
are meant to store rows and columns of data, not for format of document
layouts and table pages are often made up of tables nested inside each other
making it difficult for browsers to render, and a nightmare to create. CSS
was added to assist with making sites aesthetic and to make placement of
elements easier and to allow you to easily (easier) design your site with
screen readers and accessibility in mind.

In my humble opinion - CSS/Divs are the correct technology for page layout
and cosmetics. Tables are the correct technology for listing tabular data.
That doesn't mean I always follow this rule - and audience, time or a damned
confusing requirement can easily influence when this is applied.

A couple of good links for you:

http://css-discuss.incutio.com/?page=TablesVsDivs

http://www.mardiros.net/liquid-css-layouts-4.html

Essential read
http://www.w3.org/TR/WCAG10-HTML-TECHS/#tables-layout

Regards

John Timney (MVP)
<hp*******@gmail.com> wrote in message
news:11**********************@f6g2000cwb.googlegro ups.com...
Hi,

After I designed my page (using several tables), while I was surfing
the web I considered a professional looking web site which had been
used DIV tags instead of tables, with many css classes. for sure
designing in div layers is much more time consuming. so there should be
a good reason for using table less layout. May be it affect Search
Engines Ranking, Accessibility or just for Separating Structure and
Presentation. anyway I don't know to continue my old way or change my
design. can anybody help?
Thanks
H. Pourfard

Jun 19 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by JaNE | last post: by
11 posts views Thread by Jean de Largentaye | last post: by
4 posts views Thread by Jonas Hei | last post: by
2 posts views Thread by Smith | last post: by
12 posts views Thread by Jarno Suni | last post: by
28 posts views Thread by Rico Secada | last post: by
5 posts views Thread by LayneMitch via WebmasterKB.com | last post: by
1 post views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.