473,581 Members | 2,338 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1107
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*******@gmai l.com> wrote in message
news:11******** **************@ f6g2000cwb.goog legroups.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
1835
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 some directory". here is case: have 10 dirs with picts, every dir have one subdir with thumbs. have file with name of dir and owner of pics. $f =...
11
9590
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. What I call "shaking the broken tree" :) I chose to make my UT-generator in Python 2.4. However, I am now encountering problems in choosing the...
4
2377
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: Dual Xeon, 1GB RAM, 36GB - RAID 1 (Dell PowerEdge 1850). Application: Windows 2003 Std Server, ASP.NET, MS SQL Server 2000 based data driven web...
5
9404
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
1056
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.. Thanks, Smith
12
2057
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 all styles specified for screen again for handheld? -- Homepage http://www.iki.fi/jarno.suni/
19
2564
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 the right environment for this - running a wide variety of PHP applications. I realise that security is also important, but for now flexibility is...
28
1898
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 daily.
5
1325
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 itself. There has to be something wrong with the code or my referencing of the file (the file is in the same directory as the code). Not sure, but...
9
1774
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 want (apparently, "Popup menu" is not the correct term, but it's the one I use in "desktop" programming). Can someone point me in the right...
0
8301
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8169
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5670
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5361
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3803
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3820
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1400
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1132
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.