473,320 Members | 1,868 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 1093
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: JaNE | last post by:
hello and please excuse my clumsy english. I'm really fresh in php (just want to make one small script for myself, haven't fount such on net) and now I'm struggling with "calling one file from...
11
by: Jean de Largentaye | last post by:
Hi, I need to parse a subset of C (a header file), and generate some unit tests for the functions listed in it. I thus need to parse the code, then rewrite function calls with wrong parameters....
4
by: Jonas Hei | last post by:
I need to decided between Standard and Enterprise Edition (Cost is a criteria - but its secondary to performance - <!--and I am not paying for it myself-->) The server spec under consideration:...
5
by: Bunny | last post by:
Is there a way to automatically load a page, after the user selects a menu item from a form?
2
by: Smith | last post by:
I have developed a web based application targeting various browsers (different versions). When I select the color... do I have to make any considerations? Anything like true font etc.. ...
12
by: Jarno Suni | last post by:
I want a device to use styles given for media type handheld and not the styles given for media type screen, if the device supports media types handheld and screen. Is it possible without writing...
19
by: hansBKK | last post by:
Upfront disclaimer - I am a relative newbie, just starting out learning about PHP, mostly by researching, installing and playing with different scripts. I am looking for a host that will provide...
28
by: Rico Secada | last post by:
Hi. First let me start by saying, please don't let this become a flame-thing. Second, I need some advice. I am a 35 year old programmer, who program in C/C++, PHP and Bourne Shell almost...
5
by: LayneMitch via WebmasterKB.com | last post by:
Code is suppose to choose a random name using 'event listeners'. The reference file is a file downloaded from the book's publisher "Sitepoint". I doubt that there is anything wrong with the file...
9
by: Anic297 | last post by:
Hello, I'm a newbie in php. I would like to show a popup menu on my website and update the page when the user has changed its selection. I have looked over the Internet but haven't found what I...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.