+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Join Date
    Dec 2010
    Posts
    28

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

    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. #2
    Join Date
    Jun 2009
    Location
    Earth Surface
    Posts
    449

    RE-Div or Table

    Using div is more better and good, is a css property but table is obsolete and more of old html. Cheers.

    Quote Originally Posted by IntegratedS View Post
    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,
    Read more articles on domaining at

    at DomainSession.com

  3. #3
    Join Date
    Dec 2005
    Posts
    65

    Smile

    Use DIV for positioning elements on the page; i.e., for page layout.

    Use TABLE only for presenting tabular data within content.


    Quote Originally Posted by IntegratedS View Post
    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,

  4. #4
    Join Date
    Jun 2009
    Location
    Earth Surface
    Posts
    449

    Div Makes your Site More Consistent

    The use of div enables your site more consistent accross many browsers.There are areas you can use table like the imediate above contributor has stated. Cheers.
    Read more articles on domaining at

    at DomainSession.com

  5. #5
    Join Date
    Jun 2011
    Posts
    15
    I want to say that you use DIV for your site.

  6. #6
    Join Date
    Jun 2011
    Posts
    77
    Using the div is the better way for your site

  7. #7
    Join Date
    Jan 2012
    Posts
    8
    Both are important
    Div is used to align the data in different forms.
    And Tables are use to insert the tabular data.

  8. #8
    Join Date
    Mar 2012
    Location
    Tennessee
    Posts
    22
    Use tables only for making graphs and charts. The code is a lot larger than with DIVs. Though with proper practice, you can do the same with DIVs. I have used tables 2 this year out of probably 30 projects. I used to love tables, but DIVs are much smaller... better loading speed and SEO. One table tag being off will screw with Googlebot, adsense and others.

  9. #9
    Join Date
    Nov 2012
    Posts
    1
    As per my experience Table is the old way for layout while div is the current.I prefer div for any web layout.. to get fast indexed in SE.

  10. #10
    Join Date
    Nov 2012
    Posts
    3
    there is no better solution. It depends what do u want to do. If just table use <table> (and only in this case!!!) but if u want create layout of the website use only <div>

  11. #11
    Join Date
    Dec 2005
    Posts
    65

    TABLE vs DIV

    Not all the posters seem to understand:

    The fundamental idea is that the tag should reflect the MEANING of the content, so that that MEANING alone is what informs the browsers and other devices (for deaf, blind, etc.), which will decide how to render the content.

    In the old days, we abused the TABLE tag because it was the only way to control page layout. We used TABLE to position blocks of content that were ,in fact, NOT tables of data.

    But now that we have CSS, including the powerful DIV tag, to control page layout, one ought not use TABLE tags to control page layout. Use TABLE to tell the world that this is a table, not to fool browsers into positioning the elements of a page one way or another.

    The above is true for HTML to be rendered by browsers. There is still a reason to use TABLE for page layout when writing HTML for inclusion in emails. Most email clients cannot render CSS stylesheets, so all CSS properties have to be inline and content positioned via tables. Basically, the email clients are MANY YEARS behind the browsers in their abilities to render HTML/CSS.

  12. #12
    Join Date
    Jun 2013
    Posts
    11
    Hi,
    Div tag will be the most suitable one...and this forum helps in lot of ways and every work showing the great interesting...

  13. #13
    Join Date
    Feb 2014
    Posts
    21
    Table tags for layouts went out in the late 1990s. That wasn't their original purpose anyway. Best to make your pages with divs and use table tags for what they were originally for.

Posting Permissions

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

Sponsors

Ending Auctions

Poll

When buying a domain, which would you prefer?
1. Fixed price domain (BUY NOW)
2. Negotiate price directly with seller
3. Make offer/counter offer online
4. Bid on domain in auction
to see the Poll results!
 
DomainState.com
Domain Tools | Domain Directory | Registrar Stats | Domain Glossary | Industry Events | FAQ | Members | Terms | RSS | Link To Us | Advertise | Contact Us
Other Related Trellian Services:
Above Domain Parking Manager   |   Free Search Toolbar   |   Free Webpage Builder   |   Keyword Research   |   Search Engine Submission   |   SEO Tools
Copyright © 2002 DomainState.com a Trellian Company 2014 Bronze Sponsor - Internet Commerce AssociationI love domaining and support the domain industry