473,698 Members | 2,440 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 1111
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
1839
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 = fopen('autori.inc', 'r');
11
9606
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 right parser for the job. I struggle in choosing between the inappropriate, the out-of-date, 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 application.
5
9405
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
1061
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
2067
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
2576
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 more important to me. Note that I'm **not** looking for people to recommend hosting companies, I...
28
1906
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
1333
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 here's the code: <html><head><title>Prob.4</title> <style type="text/css"> #textfield...
9
1784
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 direction?
0
8608
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9161
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9029
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7732
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6522
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4370
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3050
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
3
2006
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.