Is tables are neccessary for good Layout?

Discussion in 'HTML & Website Design' started by diam26, Aug 29, 2008.

  1. #1
    Dear Guys

    Is tables are neccessary for good Layout? I am confused so I want to know is it neccessary to use table to control the Layout? without using much table is possible to design a good layout?
     
    diam26, Aug 29, 2008 IP
  2. luckybee

    luckybee Peon

    Messages:
    151
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Tables are not necessary, in fact they are discouraged for layouts. Today, well designed sites use CSS for layouts.
     
    luckybee, Aug 29, 2008 IP
  3. WebDesignGold

    WebDesignGold Guest

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I'm sorry my reply is off topic (although I'm with luckybee that tables shouldn't be used for layout purposes) but I couldn't resist.. "is our children learning?.." Lol.
     
    WebDesignGold, Aug 29, 2008 IP
  4. Xcentric Media

    Xcentric Media Peon

    Messages:
    723
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Tables are "ok" when you're dealing with tabulated data, but as it's already been mentioned, it's generally better to have a design that does not use tables. However, you can still have a well formatted, standards compliant design that uses tables. It really depends on your content and what you're trying to achieve.
     
    Xcentric Media, Aug 29, 2008 IP
  5. nicangeli

    nicangeli Peon

    Messages:
    828
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #5
    There more than "ok". They are the only tool for the job.

    I agree with all of above though.
     
    nicangeli, Aug 29, 2008 IP
  6. Xcentric Media

    Xcentric Media Peon

    Messages:
    723
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Actually that's incorrect. It's possible to format traditional "tabulated data" in some instances, without actually using tables. Either way would be absolutely fine.
     
    Xcentric Media, Aug 29, 2008 IP
  7. clinton

    clinton Well-Known Member

    Messages:
    2,166
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    110
    #7
    Divs are also a good tool for the job, so no their not the only tool or else my sites layout wouldn't be possible.
     
    clinton, Aug 29, 2008 IP
  8. nicangeli

    nicangeli Peon

    Messages:
    828
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Why would you markup tabular data with any other tag other than <table>. Yes you can, but it makes no sense to do so.



    I wasn't talking about layouts. We were discussing tabular data.
     
    nicangeli, Aug 29, 2008 IP
  9. Xcentric Media

    Xcentric Media Peon

    Messages:
    723
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Sure it does. Mainly for correct visual continuity to a wider array of browsers. However, as I've said, using tables for tabular data is fine, if it's truly needed.

    No, however diam26's initial post was referring to layouts.
     
    Xcentric Media, Aug 29, 2008 IP
  10. webmindz24

    webmindz24 Peon

    Messages:
    311
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Div are mostly used these days but you can also use tables with divs it not getting your desired results..
     
    webmindz24, Aug 29, 2008 IP
  11. tmwwtw

    tmwwtw Peon

    Messages:
    68
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    u will have many problems with table. css is the best way to design website
     
    tmwwtw, Aug 29, 2008 IP
  12. mypsdtohtml

    mypsdtohtml Guest

    Messages:
    96
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Tables are very old use of HTML. New XHTML CSS sites use tableless hand coded design
     
    mypsdtohtml, Aug 30, 2008 IP
  13. Mooseman

    Mooseman Peon

    Messages:
    453
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Use tables for what they are supposed to do just like you do with everything else...
     
    Mooseman, Aug 30, 2008 IP
  14. clinton

    clinton Well-Known Member

    Messages:
    2,166
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    110
    #14
    A few years ago I favored tables, however now days I've noticed the advantages of divs. Tables are easy to set up, their also easy to get inline content like images and content to line up with each other.

    The reason why I switched from tables to divs is that divs are more flexible, they're quicker to load, and until they come up with something groovy in HTML 5 or XHTML 1.1... they're the best thing to use for a layout.
     
    clinton, Aug 31, 2008 IP
  15. ziplock122949

    ziplock122949 Active Member

    Messages:
    159
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #15
    I tend to use css for the general layout and use some tables inside of <div> tags for some of the content.
     
    ziplock122949, Aug 31, 2008 IP
  16. HortiKulturist

    HortiKulturist Guest

    Messages:
    21
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #16
    I can envision very few situations where you would semantically use divs + tables for tabular data.
     
    HortiKulturist, Aug 31, 2008 IP
  17. bryanfilm

    bryanfilm Peon

    Messages:
    101
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Stick with using divs and css.
     
    bryanfilm, Sep 1, 2008 IP
  18. Uzi Levitovitch

    Uzi Levitovitch Active Member

    Messages:
    117
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #18
    With DIVs you can make everything and we all should merge our designs towards them...But I know very good sites in the top of google serp built on tables...its all about browser compatibility....
     
    Uzi Levitovitch, Sep 1, 2008 IP
  19. diam26

    diam26 Peon

    Messages:
    151
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #19
    So, you mean Divs is better then CSS cols?
     
    diam26, Sep 1, 2008 IP
  20. clinton

    clinton Well-Known Member

    Messages:
    2,166
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    110
    #20
    You can use CSS for tables as well as divs. However, divs are more flexible in terms of overlapping and that type of stuff. Divs are the more reasonable tool for the job. If you want to space two divs 70 pixels apart then you just add a margin. If you want to space two table cells 70 pixles apart the rest of the cells below and above, right or left become altered. As a result you would have to create news tables, which would just add useless markup and a longer loading time. Using divs is simple, easy and flexible.
     
    clinton, Sep 1, 2008 IP