Replacing tables

Discussion in 'HTML & Website Design' started by krebs, Dec 8, 2009.

  1. #1
    OK everyone, I am going to go out there and say it, I use tables on my site. I am not proud of it. I use them because I am not a pro and I do not know how to effectively use an alternative because I dont know what options are available.

    Should I use <div> or is there some other formatting code that will be around for awhile which will make my life easier after I learn it. I have some css knowledge but only enough to format text and image style.

    BTW I was asking about using basic PHP a couple months ago and you all taught me. You guys and gals rock. It has helped me immensely!
    So what is a good resource I can use to replace my tables with for a more efficient formatting?

    Thank in advance.
    Cheers!
     
    krebs, Dec 8, 2009 IP
  2. digital29

    digital29 Peon

    Messages:
    462
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    div, with css of course
    www .w3schools.com (without the space) - you can learn here css very fast
     
    digital29, Dec 8, 2009 IP
  3. unigogo

    unigogo Peon

    Messages:
    286
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    unigogo, Dec 8, 2009 IP
  4. Piggy

    Piggy Active Member

    Messages:
    574
    Likes Received:
    9
    Best Answers:
    1
    Trophy Points:
    70
    #4
    The <div> tag is the best way to build a website, and keep it clean. I used to use tables myself, and hated them. Then, I discovered the magic of <div> and i'm never going back. CSS is also a great tool too. As digital29 mentioned, w3schools.com is a great way to learn CSS, or any language you'd need for that matter. Using CSS to design your <div>'s is SO MUCH EASIER than using tables.
     
    Piggy, Dec 8, 2009 IP
  5. Mentalhead

    Mentalhead Active Member

    Messages:
    1,344
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    53
    #5
    Yup, like other people said, divs are the best way to build a website but it takes some time and patience to get a hang of it, so don't ever give up. Good luck with learning CSS :)
     
    Mentalhead, Dec 8, 2009 IP