Tables or CSS?

Discussion in 'HTML & Website Design' started by drew68, Apr 14, 2010.

  1. #1
    why build a site strictly using css? is it because it's easier? is it because it's better for seo?

    why not build sites using html but not having content shoved into 20 different tables? i don't understand the craze of building a site strictly in css.

    my last question...how difficult is it to build a site using just css?
     
    drew68, Apr 14, 2010 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    CSS offers flexibility not available in tables. Elements can be repositioned more/less at will.
    Tables are a fixed grid you must fit into. Repositioning is not easy.
    .....ran out of time.
     
    drhowarddrfine, Apr 14, 2010 IP
  3. drew68

    drew68 Well-Known Member

    Messages:
    582
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    128
    #3
    good point but what's the point of "repositioning" really? i don't see the hoopla over this. unless it's all image based...why move a column? it can easily be redeveloped with tables if done right.
     
    drew68, Apr 14, 2010 IP
  4. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #4
    It's been so long since I've had this argument I can't think of all the reasons. Things move around on web sites all the time but think of the times when someone wants to position an element in one spot, then decides he wants it somewhere else. What if it crosses a cell's boundary? What if you want it placed right on that border? How do you span an image across multiple cells without interrupting what's already there? And on and on.

    This is an argument no one has anymore. Despite the problems some people have getting it to work, it's almost always due to their misunderstanding of how things should work and not taking the time to learn the details. The basics really are easy.
     
    drhowarddrfine, Apr 14, 2010 IP
  5. junosama

    junosama Active Member

    Messages:
    298
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    #5
    The main reason is so that you can update a variety of elements on your site quickly. My fav combo is wordpress/php and css to build and manage sites. I could never go back to the days of just html only sites!
     
    junosama, Apr 14, 2010 IP
  6. master

    master Guest

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    The main reason is to use CSS,
    A single CSS file can contain positioning, layout , font, colors and style information for an entire web site. The file can be referenced by each html file on the site.

    CSS is a means of separating the content of an html document from the style and layout of that document.
    more CSS information and professional tip visit this tutorilas99.com
     
    master, Apr 15, 2010 IP
  7. creativeking

    creativeking Peon

    Messages:
    2
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    For me myself, I build my site using CSS because I want it be more easier to read by search engine robot :)
     
    creativeking, Apr 15, 2010 IP
  8. Masteroa

    Masteroa Peon

    Messages:
    54
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Masteroa, Apr 15, 2010 IP
  9. psdtowordpress

    psdtowordpress Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    CSS is very flexible, customizable and your site tableless is less heavy and load quickly.
     
    psdtowordpress, Apr 15, 2010 IP
  10. snorkel

    snorkel Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    In my experience CSS designs are easier to code, much easier to edit and make big overhauls on, and more compatible in terms of showing the same site across browsers.
     
    snorkel, Apr 15, 2010 IP
  11. subdivisions

    subdivisions Well-Known Member

    Messages:
    1,021
    Likes Received:
    40
    Best Answers:
    1
    Trophy Points:
    145
    #11
    Is this a serious question? According to W3Schools, the <table> tag is for tabling data, not layouts.

    - Using tables for layout is bad for search engines
    - bad for screen readers
    - big and slow-loading
    - hard to move stuff and change layout
    - if someone feels like checking your source code, they will think you're stupid and won't listen to what you have to say.
     
    Last edited: Apr 15, 2010
    subdivisions, Apr 15, 2010 IP