Results 1 to 11 of 11
  1. #1

    For Website Design div tags or Tables?

    Hi Friends,

    Which one is better using div tags or tables for designing a website and why?

    Thanks

  2. #2
    Hi Rahulsuresh,

    good question!

    My opinion is to go with DIVS. Since we started using DIVs instead of tables in the new websites we develop we noticed amazing results, that forced us to switch the table layout into DIVs from our old websites.

    There are several reasons that DIVs are better than tables:

    1. Page size becomes smaller so the loading is faster on most of the browsers.

    2. You have a centralized styling (since you will be dealing only with CSS for the DIVs' styling) that gives you flexibility for future changes.

    3. The source file is much easier for reading - both for other developers working on the website AND for the search engines!

    These are three points that come on my mind right now, but for sure there are more advantages of DIVs in comparison to Tables.
    <<< Please see Forum Guidelines for signature setup. >>>

  3. #3
    Join Date
    Jan 2011
    Posts
    660
    Quote Originally Posted by Netshop-Isp View Post
    Hi Rahulsuresh,

    good question!

    My opinion is to go with DIVS. Since we started using DIVs instead of tables in the new websites we develop we noticed amazing results, that forced us to switch the table layout into DIVs from our old websites.

    There are several reasons that DIVs are better than tables:

    1. Page size becomes smaller so the loading is faster on most of the browsers.

    2. You have a centralized styling (since you will be dealing only with CSS for the DIVs' styling) that gives you flexibility for future changes.

    3. The source file is much easier for reading - both for other developers working on the website AND for the search engines!

    These are three points that come on my mind right now, but for sure there are more advantages of DIVs in comparison to Tables.
    I agree with you tables are old now ...

  4. #4
    Join Date
    May 2011
    Location
    California, USA
    Posts
    208
    DIV's are the way to go as tables were only ever meant to display tabular data. Tables can be useful in certain situations however.

  5. #5
    DIV's are used as containers in structural markup to define content divisions and coupled with CSS, for layout. Tables are used to display data, not content, in rows and columns.

    Quote Originally Posted by benjohnsonfs View Post
    I agree with you tables are old now ...
    Well, no. Tables have very legitimate uses, especially in the web hosting industry where a designer might want to clearly and concisely compare web hosting packages, for example.
    ServeYourSite
    Web hosting done right
    ██ Shared, Reseller and Dedicated web hosting
    An Easy Web Presence Company

  6. #6
    Quote Originally Posted by stripeyteapot View Post
    Well, no. Tables have very legitimate uses, especially in the web hosting industry where a designer might want to clearly and concisely compare web hosting packages, for example.
    That's true, in the sense that everything exists for a reason. However, whatever can be done with Tables can, for sure, be done with divs.
    <<< Please see Forum Guidelines for signature setup. >>>

  7. #7
    Like teapot said, divs are meant to organize your content. You will generally have separate "content areas" in a website, and you can separate these in divs and style each one individually this way.

    However, as pointed out, tables do have uses in organizing content sometimes. They are, of course, to be used for displaying tabular data. However, they can be useful in other situations such as organizing a form.

  8. #8
    DIV tags work better than the Tables for the websites.Table take more space and time for loading.It can make the site slow.So, DIV tags can be used in place of tables.

  9. #9
    Join Date
    May 2011
    Location
    California
    Posts
    6
    I agree that DIV tags are the way to go. Tables were ever only meant to hold tabular data and are not for design purposes.

  10. #10
    Do not use tables. Tables are so 2005!

  11. #11
    Join Date
    Jun 2007
    Location
    Taylorsville, Utah
    Posts
    46

    * No More Tables!

    Quote Originally Posted by Zoom Active View Post
    Do not use tables. Tables are so 2005!
    Haha fully agreed...


    XHTML / CSS (Even HTML5 / CSS3 if your catching on there yet)

    So much more can be done with tables including the best part semantics and search engine optimization

    Tables are about as extinct as IE6
    TurboHosted Web Hosting
    █ Fast, Quality Web Hosting
    Call Us: (801) 876-0680
    Visit Us Today | myTurboHosted

Similar Threads

  1. Div Tags or Tables?
    By webmaster98 in forum Web Design and Content
    Replies: 7
    Last Post: 05-14-2011, 05:32 PM
  2. BASIC website layout help <div> tags
    By Goldfiles in forum Programming Discussion
    Replies: 5
    Last Post: 04-11-2011, 12:19 PM
  3. Page Layout in DIV Tags or Tables?
    By fisherdigital in forum Web Design and Content
    Replies: 13
    Last Post: 03-20-2007, 06:34 PM
  4. Replies: 4
    Last Post: 04-03-2006, 11:54 AM
  5. div tags
    By isheikh in forum Web Design and Content
    Replies: 1
    Last Post: 05-29-2004, 08:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •