Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1910 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

What is better to use? "div" or "tables"

Thread title: What is better to use? "div" or "tables"
Reply  
Page 1 of 7 1 2 3 4 5 >
    Thread tools Search this thread Display Modes  
02-15-2009, 09:57 AM
#1
susapra is offline susapra
Status: Sin Binner
Join date: Sep 2008
Location:
Expertise:
Software:
 
Posts: 35
iTrader: 0 / 0%
 

susapra is on a distinguished road

  Old  What is better to use? "div" or "tables"

Hi all,

Im new here and I would like to know some doubts that I have. I observer that some websites are using "div" and other "tables".

What is the difference between those 2? What do I get or what results, if I use "div" or "tables" in my website.

To be honest, before I was using "tables" in my header and footer templates, and my site had a score of 95% SEO in whois.domaintools.com

But after I switched all things to "div", now my score had lowered to 85%, is that posible and could had been because of the changing code?

Some friends told me that using "div" is better for a fastest speed of the website...

I would like to hear some professional opinions.
Thanks alot to all,

All the best,

Reply With Quote
02-15-2009, 05:04 PM
#2
Alan is offline Alan
Status: I'm new around here
Join date: Feb 2009
Location:
Expertise:
Software:
 
Posts: 8
iTrader: 0 / 0%
 

Alan is on a distinguished road

  Old

Well divs are usually used in tableless designs that use css to place everything where it belongs on the page. Tables are good when displaying things like features for hosting packages. Some people say having tableless layouts are better for SEO but I'm not sure. I say just use what works best for the functionality of your website.

Reply With Quote
02-21-2009, 11:58 PM
#3
rat4m3n is offline rat4m3n
Status: I'm new around here
Join date: Feb 2009
Location:
Expertise:
Software:
 
Posts: 4
iTrader: 0 / 0%
 

rat4m3n is on a distinguished road

  Old

divs !!! DIVS AND DIVS...

Tables makes website not usable and accesible for disabled ppl (blind person see table inside the table inside the table and so on).. and all proffectional designers use DIVS...

tables only to build mail templetes mainly...

Reply With Quote
02-22-2009, 09:45 PM
#4
den48248 is offline den48248
Status: Junior Member
Join date: Feb 2009
Location:
Expertise:
Software:
 
Posts: 38
iTrader: 0 / 0%
 

den48248 is on a distinguished road

  Old

Divs. Tables were never meant for layouts.

Reply With Quote
02-23-2009, 03:03 PM
#5
devunion is offline devunion
Status: I'm new around here
Join date: Feb 2009
Location:
Expertise:
Software:
 
Posts: 14
iTrader: 0 / 0%
 

devunion is on a distinguished road

  Old

How I can implement features like that was mentioned by Alan with DIVs? One DIV for one cell?

Reply With Quote
02-23-2009, 04:53 PM
#6
creativejen is offline creativejen
Status: Paladin
Join date: Jul 2006
Location: Sheffield, UK
Expertise: design, front-end markup
Software: Photoshop
 
Posts: 2,353
iTrader: 25 / 96%
 

creativejen is an unknown quantity at this point

Send a message via MSN to creativejen

  Old

Reply With Quote
02-23-2009, 05:27 PM
#7
.Nick is offline .Nick
.Nick's Avatar
Status: Request a custom title
Join date: Feb 2005
Location:
Expertise:
Software:
 
Posts: 1,159
iTrader: 3 / 100%
 

.Nick is on a distinguished road

  Old

False dichotomy.

Reply With Quote
03-08-2009, 11:45 PM
#8
Cushioned is offline Cushioned
Status: Junior Member
Join date: Feb 2009
Location: USA
Expertise:
Software:
 
Posts: 34
iTrader: 0 / 0%
 

Cushioned is on a distinguished road

Send a message via AIM to Cushioned Send a message via MSN to Cushioned Send a message via Skype™ to Cushioned

  Old

DIVs all the way. It is the newest type of HTML out there -> XHTML

It requires the knowledge of CSS, but is substantially better.
-Quicker load times
-Easier to understand
-Tables weren't meant for layouts -> Meant for holding data
-Far less errors
-Neater code
And many other reasons.

Professional companies keep away from tables and stick to the newest and most efficient type of coding out there.

Hope this helps!
-Cushioned

Reply With Quote
03-14-2009, 08:06 PM
#9
Andrew R is offline Andrew R
Status: Request a custom title
Join date: Dec 2005
Location: Arizona
Expertise:
Software:
 
Posts: 5,200
iTrader: 17 / 95%
 

Andrew R is on a distinguished road

  Old

Originally Posted by Cushioned View Post
DIVs all the way. It is the newest type of HTML out there -> XHTML

It requires the knowledge of CSS, but is substantially better.
-Quicker load times
-Easier to understand
-Tables weren't meant for layouts -> Meant for holding data
-Far less errors
-Neater code
And many other reasons.

Professional companies keep away from tables and stick to the newest and most efficient type of coding out there.

Hope this helps!
-Cushioned
There is so much wrong with this post, I'm not sure where to start.

First of all, yes, XHTML is the new 'version' of HTML, however, divs are not exclusive to XHTML as your post makes it seem.

"Far less errors" isn't necessarily true. I've seen relatively valid table sites, and absolutely horrible tableless sites with dozens to hundreds of errors. It is how you write your code, not what you use.

"Professional companies" is very subjective. There are some very large, professional, multi-million/billion dollar companies that still use tables for their websites (even some that are web based). Have you ever looked at the source code of Amazon? Sure, they use tables for tabular data in all proper instances, however, they have other tables used for layout all over the site.

--

Back to the OP question, I highly recommend using tableless over tables. You can do some googling, or read some other posts to get of an idea why. No sense in writing stuff that's written hundreds of other times all over this and other websites.

Reply With Quote
03-11-2009, 10:31 PM
#10
Plutomic-Andrew is offline Plutomic-Andrew
Status: I'm new around here
Join date: Mar 2009
Location:
Expertise:
Software:
 
Posts: 15
iTrader: 0 / 0%
 

Plutomic-Andrew is on a distinguished road

  Old

As others have said, tables simply weren't meant for layouts. Although our site doesn't currently utilize divs at all, when we take the time to redesign it everything will need to be in a div.

Reply With Quote
Reply  
Page 1 of 7 1 2 3 4 5 >


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed