Tables Are Overrated

Discussion in 'GR Classic Archive' started by SilentS, Oct 30, 2005.

Thread Status:
Not open for further replies.
  1. SilentS

    SilentS Well-Known Member

    Posts:
    257
    Likes Received:
    0
    Joined:
    May 31, 2004
    Location:
    Canada
    Who needs (X)HTML tables when you can use CSS (Cascading Style Sheet)?
    Here is a strong argument against using HTML tables and images (HTML tables are an inavoidable result of the Photoshop "slicing" method) for a template:
    http://clanerz.pjfxhosting.de/silentserpent/
    Backup Link
    NOTE: My real host is down, so I am using a free host, and it MESSES UP the template. It adds a <script>...</script> line above the first real line of code in the page, and this offcenters the template in IE, as well as it extends the bottom-border of the right side lists. It actually IS valid XHTML and CSS (but not anymore thanks to the added <script> line) and does work in Firefox, IE and Opera.
    Don't try any of the links, because they won't work.

    Both complete pages are under 35KB total size, try that with Photoshop and HTML tables (besides, my table-free template has cool rollovers too)! :D
     
  2. beatsta

    beatsta Well-Known Member

    Age:
    36
    Posts:
    2,123
    Likes Received:
    0
    Joined:
    May 22, 2005
    Location:
    Birmingham, england
    N00bs use tables, they find it easier because they can just export the code fro photoshop. Css is the way forward, i really like that layout, nice clean and usable. I just really hope people relise that with css it is alot easier to position layouts than with tables.
     
  3. Mr. Cheeky

    Mr. Cheeky Well-Known Member

    Posts:
    1,410
    Likes Received:
    0
    Joined:
    Jul 19, 2005
    SilentSerpent, i've been trying to get your AIM/MSN for like 2 weeks now lol. I attempted to learn DIVS/XHTML/CSS and all that but I wanted you to help me in return for a domain name + web hosting sponsorship or something.

    If you're still interested, please PM me. I'd really like to learn!
     
  4. SilentS

    SilentS Well-Known Member

    Posts:
    257
    Likes Received:
    0
    Joined:
    May 31, 2004
    Location:
    Canada
  5. uNre4L

    uNre4L Senior Member

    Age:
    38
    Posts:
    658
    Likes Received:
    0
    Joined:
    Mar 22, 2005
    Location:
    Israel
    nice and clean layout mate nice job.

    btw whats CSS and tables. ?
     
  6. SilentS

    SilentS Well-Known Member

    Posts:
    257
    Likes Received:
    0
    Joined:
    May 31, 2004
    Location:
    Canada
    HTML tables are something used in the HTML coding of a web page. For example, when viewing this page (or anywhere @ GameRenders), in your browser, go View>Source and you will notice various <table></table><tr></tr><td></td> tags throughout all the lines of code. View>Source this template: http://www.silentserpent.clanerz.com/3/ and you will notice NO <table></table><tr></tr><td></td> tags whatsoever. What I used instead of tables is what is called CSS (Cascading Style Sheet). Simply put, CSS is better than using tables. B)
    For more info, look at this: http://www.hotdesign.com/seybold/
     
  7. XxLostXx

    XxLostXx Well-Known Member

    Age:
    35
    Posts:
    803
    Likes Received:
    0
    Joined:
    Aug 22, 2005
    Location:
    homeless
    Both suck. DIV's work a wonder ;)
     
  8. SilentSteps

    SilentSteps Well-Known Member

    Age:
    36
    Posts:
    335
    Likes Received:
    0
    Joined:
    Dec 31, 2004
    CSS (cascade style sheet) is used for styling of HTML... And tables aren't exactly overrated... Just usually used in the wrong manner. It should be used for tabular data, like a calendar. And yes, < div >'s and ?php include ftw.
     
  9. LemoNade

    LemoNade Well-Known Member

    Age:
    37
    Posts:
    500
    Likes Received:
    0
    Joined:
    Dec 21, 2004
    Location:
    Southampton, England
    wtf...

    So you reckon tables are only used by n00bs and that decent webdesigners must use CSS? I guess IBM are n00bs then.

    Exporting a website from ImageReady automatically into tables isnt the only way tables are used. I'm not against CSS at all, in fact I agree it is the way forward hence why I am aiming to learn it. However, you can make a complex website work just as well with tables as you can with CSS.

    And SilentSerpent, who exactly are you aiming this thread at? Showing us 2 sites that look next to identical isnt much of an argument.
     
  10. beatsta

    beatsta Well-Known Member

    Age:
    36
    Posts:
    2,123
    Likes Received:
    0
    Joined:
    May 22, 2005
    Location:
    Birmingham, england
    wtf...

    So you reckon tables are only used by n00bs and that decent webdesigners must use CSS? I guess IBM are n00bs then.

    Exporting a website from ImageReady automatically into tables isnt the only way tables are used. I'm not against CSS at all, in fact I agree it is the way forward hence why I am aiming to learn it. However, you can make a complex website work just as well with tables as you can with CSS.

    And SilentSerpent, who exactly are you aiming this thread at? Showing us 2 sites that look next to identical isnt much of an argument. [/b][/quote]
    Yeh i kinda worded that wrong what i ment was most that most people here just export there layouts from imageready and use the imageready code, when you try to tell them that things would work more efficiently with css they try to argue about how tables are better.
    Tables are usefull but mostly for tabular data and not so much for layouts, if you want to use tables then go ahead but using a few divs and a style sheet would suits most peoples purpose more and is mostly easier.
     
  11. SilentS

    SilentS Well-Known Member

    Posts:
    257
    Likes Received:
    0
    Joined:
    May 31, 2004
    Location:
    Canada
    I beleive that IBM are definitely n00bs, because their computers suck (I had a bad experience with one of them :P ), but that is my biased personal opinion.

    The point I am trying to make is that exporting table-based layouts from ImageReady have long loading times (from all the images and lines of code), and are not valid XHTML strict (which doesn't really matter), and are lame. CSS based layouts are harder to make, so there is another element of personal bias/smugness on my part. <_<
    This template: http://www.silentserpent.clanerz.com/templates/navygrunge/ (which uses tables and an abundance of images) has a total size of 500738 bytes (size calculator courtesy of http://www.websiteoptimization.com/services/analyze/ ), and this one: http://www.silentserpent.clanerz.com/3/ has a total size of 35725 bytes. Bit of a difference eh? I don't know about you guys, but I hate waiting for pages to load even with ADSL, and think about those poor suckers with dial-up. :D
     
  12. 5dowN

    5dowN Well-Known Member

    Posts:
    1,137
    Likes Received:
    0
    Joined:
    Oct 23, 2005
    wats the diff between all these coding ways?? do they make it easier or.....
     
  13. Mofila

    Mofila Well-Known Member

    Age:
    37
    Posts:
    874
    Likes Received:
    0
    Joined:
    Jan 30, 2005
    Location:
    Victoria BC Canada
    Best layout ive seen in months..... Since i dont code i shouldnt be here;)
     
  14. Tha_King

    Tha_King Member

    Posts:
    5
    Likes Received:
    0
    Joined:
    Oct 18, 2005
    is CSS easy to learn?
     
  15. LemoNade

    LemoNade Well-Known Member

    Age:
    37
    Posts:
    500
    Likes Received:
    0
    Joined:
    Dec 21, 2004
    Location:
    Southampton, England
    Yeah thats true, but of course thats not the only way they're used.

    As I said, I'm definately up for using DIV's over tables, but until Microsoft code a fully-CSS-complaint browser then its very difficult to make DIV's work (especially multiple columns) with multiple browsers without using Javascript to check the browser and modify the link to the style sheet accordingly...If you see what I mean.
     
Thread Status:
Not open for further replies.

Share This Page