|
|
|
|
Thread title: What is better to use? "div" or "tables" |
|
|
Page 5 of 7 |
< |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
> |
|
|
|
Thread tools
Search this thread
Display Modes
|
|
06-02-2009, 11:11 AM
|
#41
|
Status: Member
Join date: Mar 2009
Location: Yorkshire
Expertise: Web Development
Software:
Posts: 275
|
I love the way that this thread is getting bumped constantly by people all saying the same (correct) thing.
|
|
06-21-2009, 08:07 PM
|
#42
|
Status: I'm new around here
Join date: Jun 2009
Location: Manitoba
Expertise:
Software:
Posts: 12
|
Divs are definitely preferable :] They cause a lot less problems than tables. The code is so much nicer and so much easier to edit! Tables clutter it up with tags.
|
|
06-23-2009, 04:56 AM
|
#43
|
Status: Member
Join date: Jun 2009
Location: Syndey
Expertise: Ruby On Rails
Software:
Posts: 109
|
I was always taught to use divs cause they are better then tables.
|
|
06-23-2009, 06:44 PM
|
#44
|
Status: I'm new around here
Join date: Jun 2009
Location:
Expertise:
Software:
Posts: 22
|
|
|
07-01-2009, 03:29 PM
|
#45
|
Status: Member
Join date: Jun 2009
Location:
Expertise:
Software:
Posts: 225
|
Divs mainly but sometimes its easier to use tables for small things.
|
|
07-04-2009, 10:22 AM
|
#46
|
Status: Junior Member
Join date: May 2009
Location: Vacume!
Expertise:
Software:
Posts: 29
|
I do table less coding, so i will vote for Divs. Still there are plenty of applications where you are bound to use tables, we cant reduce the value of old HTML as it will never disappear.
I have few clients who do smarty templates and they are more comfortable with Tables, as per them it's lot easier to port an HTML to smarty where as I have a client who do wordpress templates, he only want CSS/xHTML and that too x-browser compatible and validates W3C.
So, I feel as a coder we must fulfill client's demand. If he is comfortable with CSS/ xHTML (Tableless) we will go for it or if he wants tables we have to do the same.
|
|
07-06-2009, 11:46 AM
|
#47
|
Status: I'm new around here
Join date: Jul 2009
Location:
Expertise:
Software:
Posts: 11
|
Personally I hate tables, Div is much more clean and maybe a bit more complex.
<div></div> = <table><tr><td></td></tr></table>
Right?
|
|
07-06-2009, 01:44 PM
|
#48
|
Status: Member
Join date: Feb 2006
Location:
Expertise:
Software:
Posts: 191
|
If you have tabular data, which you would normally draw a table for, then use a table.
If you're creating a layout, dividers. In most situations I find:
+ Semantically correct.
+ Easier to style.
+ Easier to position.
+ Less code.
+ Easier to edit.
+ More comprehensible to other developers.
But as everyone else has said, I'm just repeating!
They're not exclusive to XHTML.
They're not less prone to errors.
They're not the only element that CSS can style.
Meow.
|
|
07-09-2009, 10:10 AM
|
#49
|
Status: I'm new around here
Join date: May 2009
Location:
Expertise:
Software:
Posts: 20
|
I've started practicing xhtml/css without using tables, and now i dont now how to use tables.... maybe I should study it then...
anyway, up for th DIVs!
|
|
07-16-2009, 11:02 AM
|
#50
|
Status: I'm new around here
Join date: Jul 2009
Location:
Expertise:
Software:
Posts: 10
|
DIV's 100%. Tables were not made to throw images in and create a layout, they were used to store information within columns. They are messy, and very easy to mess with when you get to a certain point.
|
|
|
|
|
|
|
Page 5 of 7 |
< |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
> |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|