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!
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...
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.
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.
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.
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.
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.
You do not have permission to post replies to topics in this board. If you want to join in with discussions and create new topics please register. If you want to register your own free account with us, please click here.