Announcement

Collapse
No announcement yet.

Tables vs Divs...

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tables vs Divs...

    Are tables really that out dated? I am in the process of redoing my site and would be more comfortable with doing it with tables. We use tables ALL THE TIME at work. BUt I don't want to see old and out of date if someone were to look into my code.

    So are tables really that bad?
    Professional Pixel Pusher — Designing the world around you. | Working daily to reach 10,000 hours of practice.

  • #2
    depends on whose looking at your code...those who care about usability, accessibility, and web standards will move on...

    to me, css is so much easier than tables...having recently encountered table code, i'm more biased...temperamental beastly things they are!...
    Monarchs Rule!

    Comment


    • #3
      Tables aren't bad - non-semantic mark-up is. Using divs in the same way which tables would be used is just as bad as using tables. Thus, the tables vs. divs argument is wrong. It should be non-semantic vs. semantic mark-up.Using tables for layout purposes is non-semantic and thus bad.Using tables for their intended purpose of displaying tabular data is good becasue that is the semantic purpose of a table. In the ideal world HTML is only meant to convey a hierarchical structure of data. The hierarchy of that structure should not be dependent on intended appearance. The purpose of CSS is to give that structure a visual presentation.

      Furthermore, HTML stripped of presentation becomes lighter in weight, cleaner and thus much easier to read because the nesting level rarely gets out of control.

      Yeah, its worth learning to do things the semantic – "correct" way.
      Last edited by tZ; 05-08-2009, 04:06 PM.

      Comment


      • #4
        Yeah, I'm editing a site built with tables right now, and it's annoying! scrolling through tons of unnecessary code all the time is not fun. CSS is not going away, and it's the right way to do things. I would suggest learning it, because there is no down side, which there is with tables.

        Comment


        • #5
          Along the lines of what tZ said, yes, tables-based layouts are outdated/bad. I try to help people as much as time permits, but if someone has used tables for layout I won't even bother—too many headaches.

          Ditto what the others said as well. CSS, standards, etc. aren't going to go away, so most employers will likely expect you to know how to do CSS-based layouts. If you're going to claim any sort web design or coding abilities on your site, then I'd say avoid a table-based layout like the plague.

          Learning CSS layouts can be a PITA at first (especially when you have to unlearn old bad habits), but once you get the hang of it you'll wonder why in the heck you waited so long to make the switch.

          Digi
          The world is divided into people who think they are right.
          —Anonymous

          Comment


          • #6
            Thanks for all the advise guys. Very very much appreciated.

            Originally posted by tZ View Post
            Yeah, its worth learning to do things the semantic – "correct" way.
            Based on this, I guess I will sit down and spend the extra time this weekend to "do things the right way."

            Professional Pixel Pusher — Designing the world around you. | Working daily to reach 10,000 hours of practice.

            Comment


            • #7
              This book can be cruised through in a weekend if your interested.

              http://www.amazon.com/Build-Your-Web...1922426&sr=1-1

              Comment


              • #8
                I have a few books that can help me out, but I can always use more reading materials! YAY!!!

                I guess I just didn't want to fight with floating divs on my page (mostly my new nav bar). But I will figure it out.
                Professional Pixel Pusher — Designing the world around you. | Working daily to reach 10,000 hours of practice.

                Comment


                • #9
                  i think a problem also is people float too many things when starting out. there isn't anything wrong with just positioning stuff using absolute/relative positioning sometimes! =)

                  Comment


                  • #10
                    Using tables to build a page rather than DIV/CSS will also effect your SEO in Google. Google reads top to bottom rather then left to right so if you have a table site it will confuse google about which areas are important and relevent as it will try and read it logically and will fail. This will give you a lower Page Rank and lower your page score in google/SE. Sorting this now is the best idea, if you HAVE to use tables, limit yourself.
                    No advertising allowed in signatures.

                    Comment


                    • #11
                      Thanks for the ref tZ, I just picked up a copy. This should be pretty easy breezy stuff, great book and looks well laid out for noob like me. What could possibly go wrong.

                      Comment

                      Search

                      Collapse

                      Advertisement

                      Collapse

                      Latest Topics

                      Collapse

                      • HotButton
                        Reply to Resizing images
                        HotButton
                        Why? How were those dimensions decided?

                        If the subject is golf carts, which are essentially square from every angle, then images of 3.x to 1 aspect ratio are a bad plan.

                        You're...
                        Today, 10:54 AM
                      • Obsidian86
                        Dropbox hacked
                        Obsidian86
                        Drop box was recently hacked. A reported 68 million user's passwords have been released on the internet. Not counting the people that keep other information like passwords in files in their dropbox account....
                        Today, 10:51 AM
                      • KitchWitch
                        Reply to Resizing images
                        KitchWitch
                        Hi Diamondmaxx and welcome to GDF.

                        We ask all new members to read very important links here and here. These explain the rules, how the forum runs and a few inside jokes. No, you haven't...
                        Today, 10:45 AM
                      • diamondmaxx
                        Resizing images
                        diamondmaxx
                        New to graphics and web design and am confused. I need my images to be 974 x 294 for a slideshow. The images my customer is giving me are various sizes but here is an example of one - 300 dpi and 5760...
                        Today, 10:41 AM
                      • designzombie
                        Reply to OSX Sierra
                        designzombie
                        I would love to be able to use my computer entirely with my voice. I work from home and mostly work with text. It would be nice if my computer accurately understood what I was telling it to do without...
                        Today, 10:37 AM

                      GDF A division of Mediabistro Holdings Adweek | Mediabistro | Clio | Film Expo Group Contact Us | Terms of Use | Privacy Policy Copyright © 2016 Mediabistro Holdings
                      Working...
                      X