Html table to CSS Div?

Discussion in 'CSS' started by peterorion, Oct 11, 2009.

  1. #1
    I have a website laid out in tables. I wanted to convert the tables into Div containers. What is the best/easiest way to do this? I know some css, but am not sure how to do this.

    Thanks
     
    peterorion, Oct 11, 2009 IP
  2. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Dan Schulz, Oct 11, 2009 IP
    sawz likes this.
  3. unigogo

    unigogo Peon

    Messages:
    286
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Click the link below to find out many multicolumn DIV layout generators.
     
    unigogo, Oct 11, 2009 IP
  4. stuart.letterman

    stuart.letterman Guest

    Messages:
    143
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    it's a minefield but the "find and replace" tool in dreamwever can do all the pages very quickly if you're clever with it (please make back ups just in case!) :rolleyes:
     
    stuart.letterman, Oct 11, 2009 IP
  5. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Please read Dan's link and don't fall into the trap of replacing every td with <div> and thinking you've got it!

    There's no difference and nothing better about a page filled with thousands of <div>s over a page built out of a table. Both are way more code than necessary.
     
    Stomme poes, Oct 13, 2009 IP