Coder Profile - Show off your skills, get a coder profile.
 
 
 
  
Posted: 4.84 Years Ago 

VBAssassin
United Kingdom
Contrib Level: 17
Total Posts: 5,730
This should be interesting...

Sooo many webmasters argue about if using tables for layout is better than using divs... the question is what do you think about the matter?

Personally i always use tables for layout.... and i like doing so! I have tried using div's and they are so bad! Especially when you try them on different browsers!

Kind regards,
Scott
Posted: 4.84 Years Ago 

Izzmo
United States
Contrib Level: 12
Total Posts: 1,982
I'm a table person, but I have started to like div's as well because they are more versatile with CSS.

Now, what I usually do is use tables for the outer layers or initial "boxing", if you will, then use divs for the inner content.
Posted: 4.84 Years Ago 

VBAssassin
United Kingdom
Contrib Level: 17
Total Posts: 5,730
But using divs for the inner content would kind of only half use tables for layout and the other half for div's.

I think it's right in saying that search engines like div's better than tables but i think browsers like tables better than div's when it comes to display...

Kind regards,
Scott
Posted: 4.84 Years Ago 

Izzmo
United States
Contrib Level: 12
Total Posts: 1,982
What do you mean divs only use tables "half"? I guess I'm not follwing you.
Posted: 4.84 Years Ago 

VBAssassin
United Kingdom
Contrib Level: 17
Total Posts: 5,730
I am saying that you are only using divs for half the layout and tables for the other half of the layout.
Posted: 4.84 Years Ago 

Yuripro84
United States
Contrib Level: 10
Total Posts: 1,132
Well, using divs is harder to learn, but the code is much more organized. I like how tables are faster and easier to make though. I'll usually use tables just because I can be 'sloppy', and the codes aren't as complicated :P

But I can definitely see how search engines could prefer div tags lol. And sometimes, tables can be hard to edit because I will end up making too many, but I still prefer tables because of how easy it is to create :) I just hate when i have tables inside tables inside tables, and it gets complicated, then I mess up with one line of code. It can be such a pain to edit, where with div tags, it's so much easier.
Posted: 4.84 Years Ago 

VBAssassin
United Kingdom
Contrib Level: 17
Total Posts: 5,730
Try creating a div copy of this topic... you wont find that so easy using div's... trust me on that one lol.

I am in the process of making the first page on coder profile that is made entirely out of divs! Which is the Printer Version page which will be also optimized for search engines as well as a printer. I hope to get this done tonight but in all fairness i don't think i will lol. Think i will finish it Wednesday along with some other updates.

Div's are nice for layers and search engines... but i still think i like tables for layout for many reasons... valign is just one of the reasons.

Kind regards,
Scott
Posted: 4.84 Years Ago 

Izzmo
United States
Contrib Level: 12
Total Posts: 1,982
Hmm, I think making divs is quite easier lol :P
CODE: Copy / Restore  ::  Remove Scroll Bars
  1. <div class="hey">...</div>
Compared to tables:
CODE: Copy / Restore  ::  Remove Scroll Bars
  1. <table class="hey"><td><tr>...</td></tr></table>
But then you get into CSS with divs and it can become more intense.
Posted: 4.84 Years Ago 

VBAssassin
United Kingdom
Contrib Level: 17
Total Posts: 5,730
Yeah it is easier to type them due to less characters and inner tags... but... try making a copy of this page completely out of divs that resizes properly etc...

it will be much more of a challenge than using tables! That is the sort of example i mean. For basic designs div's are fine, for more complex designs... tables tend to work much better.

Or at least that is what i have found from my experience.

Kind regards,
Scott
Posted: 4.83 Years Ago 

Darkvengance
United States
Contrib Level: 8
Total Posts: 549
Personally I like using tables as they are easier/quicker to create and edit, however div's (depending on the programmer) are a little more structured.
Posted: 4.83 Years Ago 

Izzmo
United States
Contrib Level: 12
Total Posts: 1,982
Very true. When you start getting into divs with you have a div on the oustide with inner tables, it gets really confusing, and between different browsers, the div's will do different things. Even when you set them to inline, they sometimes don't drop down to the same line, which is annoying.
Page of 8 :: Next Page >>
 
 
Latest News About Coder Profile
Coder Profile Poll
Which sounds better on your coder profiles, and makes more sense to you (think twitter, facebook, etc)?

Followers / Following
Fans / Following
Fans / Fan Of


please login to cast your vote
and see the results of this poll
Latest Coder Profile Changes
Coder Profile was last updated
3.49 Years Ago
Official Blog :: Make A Donation :: Credits :: Contact Me
Terms & Conditions :: Privacy Policy :: Documents :: Wallpapers
Version 1.46.00
Copyright © 2007 - 2012, Scott Thompson, All Rights Reserved