Submit Your Article Forum Rules

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32

Thread: Why tables for layout is stupid?

  1. #1
    WebProWorld MVP Webnauts's Avatar
    Join Date
    Aug 2003
    Location
    European Community
    Posts
    9,028

    Why tables for layout is stupid?

    Why tables for layout is stupid: problems defined, solutions offered.

    http://www.hotdesign.com/seybold/index.html

    I am sure you will love this resource, as I did!

  2. #2
    Senior Member
    Join Date
    Jul 2003
    Posts
    519
    Somethings cannot be achieved with DIVs and CSS and so we use tables. I don't care how bad some people say they are they will always have their uses.

  3. #3
    Senior Member
    Join Date
    Jul 2003
    Posts
    617
    It amuses me with 'professionals' that no matter what tools are available, someone will start trashing them when a new one comes along :)

    Strikes me that the only thing 'wrong' with tables is that you can use something else ;)
    Sualdam

  4. #4
    WebProWorld MVP Webnauts's Avatar
    Join Date
    Aug 2003
    Location
    European Community
    Posts
    9,028
    Sualdam I would not agree with you.
    Why? have a look here: http://www.saila.com/usage/layouts/cssvtables.shtml

  5. #5
    WebProWorld MVP Webnauts's Avatar
    Join Date
    Aug 2003
    Location
    European Community
    Posts
    9,028
    Carbonite, can you tell an example what works with tables and not with CSS?

  6. #6
    Senior Member redcircle's Avatar
    Join Date
    Aug 2003
    Posts
    424
    The only reason that I can see to use CSS instead of tables is to allow the seperation of design from content. Using CSS allows you to have many different designs without having to change your HTML file. I have not yet mastered the art of using CSS and have it uniform across browsers without little hacks that I find are a big waste of time. So until the browsers adopt a standard for CSS I will be forced to use a hybrid.

    Also CSS degrades gracefully which is not the case with tables.

    You can also get better SEO with CSS. When I switched to a CSS design by placement jumped.
    www.squitosoft.com - PHP development site. featuring Squito Gallery. a php driven photo gallery.
    www.rgfx.net - Specializing in Internet solutions, including Html authoring, Interactive Web sites, 3D/2D Graphics and animation.

  7. #7
    Senior Member Narasinha's Avatar
    Join Date
    Aug 2003
    Posts
    230

    Tables in HTML

    Tables were originally meant to be used to display information that you often see with a row of headings describing the lists of information presented below. Designers discovered that they could display graphical information in the tables, manipulating row and column spans, padding and spacing, and... voila! Perfect page layout! It displays properly (i.e., the way the designer wants it) every time!

    Tables are still meant to contain tabular information. I used tables for layout purposes at one time. That was before I became familiar with W3C standards. (Yes, I know, "Here he goes again with the standards!")

    Using tables for layout purposes is okay (in my opinion) if you are creating a page that no one will ever visit with a page reader (or you simply don't care if they do), one that you don't mind loading more slowly because the browser takes a while to figure out your complicated nested table structure, one that you have to trash when you redesign because the code looks like spaghetti, and one that takes up a little more server space because of the file size.

    Do you hire a licensed electrician to change the bulb in your desk lamp? No. Do you hire one to connect the peripherals to your computer? Probably not. Do you hire one to rewire your home? I would hope so. For important work, you turn to him. Why do you do this for one situation and not the other? Because the electrician is more knowledgable, is licensed (in most cases) and may be a member of a union. What does this licensing mean? It means he wires your house according to approved standards. It means when you turn on your computer the lights in the kitchen don't shut off. It means that you won't have a fire hazard at your junction box.

    Granted, your web site is probably not as critical to your life as the wiring in your house. But it illustrates the need for standards. Without them, there would be Netscape sites that would only work on Netscape, not displaying at all in any other browser. There would be Internet Explorer ONLY graphics, that would not load in any other browser. There would be Macintosh-only sites, that any other system would be unable to view. Every type of site would contain proprietary code that would only work for specific circumstances. It would be like having your electrician install outlets, only to find that they are type 'A' outlets, and the stereo you own needs a type 'B' outlet, and the new computer you want needs a type 'C' outlet.

    Tables as 'tools' used by designers for perfect layout was not a case of using the proper tool. The proper tool did not yet exist (CSS), so designers made tables do what they wanted. Yes, I suppose you could pound in a nail with a wrench.

    There is nothing wrong with tables. They are a useful set of tags, like so many others. They are meant to contain tabular data. HTML has evolved, and in a way, gotten back to its original intent. HTML is used to describe the content. CSS is there to describe the layout and visual display. Developers can continue to use tables to lay out their pages, but what happens when the boss wants to know why someone keeps emailing him about the web site not being available to his screen reader?
    - [url=http://unrelated.dexterityunlimited.com/Relatively Unrelated[/url]

  8. #8
    Quote Originally Posted by Sualdam
    It amuses me with 'professionals' that no matter what tools are available, someone will start trashing them when a new one comes along :)Strikes me that the only thing 'wrong' with tables is that you can use something else ;)
    I agree. The CSS stampede is faddish group-think and lemming-like behavior. There's nothing wrong with tables.

  9. #9
    Senior Member
    Join Date
    Jul 2003
    Posts
    519
    Webnauts can you do a segmented picture using css? I mean a sliced picture as in how google presents its logo, and could you guarantee that it would appear as it should on every browser that supports images?

  10. #10
    Senior Member redcircle's Avatar
    Join Date
    Aug 2003
    Posts
    424

    Re: Tables in HTML

    Quote Originally Posted by narasinha
    It would be like having your electrician install outlets, only to find that they are type 'A' outlets, and the stereo you own needs a type 'B' outlet, and the new computer you want needs a type 'C' outlet.
    I guess you would need to use a bunch of adapters... lol .. and on the computer.. plugins.. lol.. I love your analogy..:)
    www.squitosoft.com - PHP development site. featuring Squito Gallery. a php driven photo gallery.
    www.rgfx.net - Specializing in Internet solutions, including Html authoring, Interactive Web sites, 3D/2D Graphics and animation.

Page 1 of 4 123 ... LastLast

Similar Threads

  1. Stupid people
    By janeth in forum The Castle Breakroom (General: Any Topic)
    Replies: 17
    Last Post: 12-18-2008, 08:16 PM
  2. CSS and Tables for Layout
    By dmadance in forum Accessibility and Usability Forum
    Replies: 13
    Last Post: 04-18-2007, 06:24 PM
  3. 'No tables' layout problems with Opera and Netscape
    By Tim in forum Graphics & Design Discussion Forum
    Replies: 9
    Last Post: 02-22-2006, 11:41 AM
  4. How Stupid Can Someone Be
    By wrmineo in forum WebProWorld: Guidelines/Announcements/Suggestions
    Replies: 7
    Last Post: 07-06-2005, 11:46 AM
  5. Why tables for layout is stupid...
    By Webnauts in forum Graphics & Design Discussion Forum
    Replies: 1
    Last Post: 01-28-2004, 12:20 AM

Posting Permissions

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