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

Discussion in 'Programming' started by andykeating, Jan 3, 2011.

  1. andykeating

    andykeating New Member

    Joined:
    Jan 3, 2011
    Messages:
    20
    Likes Received:
    1
    Trophy Points:
    0
    Home Page:
    http://www.sortshots.com
    [FONT=&quot]
    [/FONT]

    Hi all,
    I would like to know some doubts that I have. I have 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.
    I would like to hear some professional opinions.
    Thanks a lot to all,
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Div has many advantages over tables and so I will go for Div.

    The Advantages are:
    1. Div based design is flexible to move things around quickly.
    2. Div based design means lesser code to content ratio.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice