Facebook   Twitter    e-mail newsletter    YouTube    RSS Feed    Android App    iPhone and iPad App     BlackBerry App    


Results 1 to 14 of 14

Thread: HTML tables to css conversion

  1. #1

    Default HTML tables to css conversion

    I've got to write the backend for a site designed by somebody else, and his/her layout is full of tables, spacer images, etc.

    Is there a way in Dreamweaver or some other IDE to perform some kind of conversion to css without having to do it manually? (Laziness is a virtue)

  2. #2

    Default

    Yes in Dreamweaver there is. Convert tables to layers.
    But I would advise not doing it that way.
    It'll probably take you longer in the long term doing that because Dreamweaver is bound to generate a lot of unnecessary code.

  3. #3

    Default

    You're right cybershark, it created a lot of roobish.

  4. #4

    Default

    You're better off doing it manually. CSS will take care of most of the small spacers and whatnot itself. Start with the basic layout of the site with each segment in a different div and adjust from there.
    .:|South African Skeptics Forum|:.
    The right to be heard does not automatically
    include the right to be taken seriously.

  5. #5

    Default

    Ya, that's what I've done.

    *To all site designers: please use div tags/css rather than tables for layout, ya bastards.

  6. #6
    Super Grandmaster
    Join Date
    Mar 2006
    Location
    Jhb, West
    Posts
    11,638

    Default

    CSS rulez!
    Changing from tables to css drops about 1/4 of space on a template.

  7. #7

    Default

    CSS is nice, but... What do you people do when you want a resizeable screen/content page? I'm normally using JavaScript, but not all browsers have it turned on, and then it messes up everything! In such a case, tables are useful!
    Et tu, Brute?

    I came, I saw, I couldn't believe my eyes!

  8. #8
    Grandmaster
    Join Date
    May 2004
    Location
    Wimblefontien, UK
    Posts
    2,615

    Default

    Quote Originally Posted by ettubrute
    CSS is nice, but... What do you people do when you want a resizeable screen/content page? I'm normally using JavaScript, but not all browsers have it turned on, and then it messes up everything! In such a case, tables are useful!
    CSS supports liquid layouts, they just tricky and often un-nessesary

    here some examples
    100% Liquid
    Comination of Liquid and fixed
    Please save trees and think twice before printing this post.

    Looking for a VPN, read my reviews at vpn-reviews.net

  9. #9

    Default

    Thanks James. Will study those a bit... and post new questions when necessary!
    Et tu, Brute?

    I came, I saw, I couldn't believe my eyes!

  10. #10

    Default

    more to read here
    http://www.glish.com/css/
    .:|South African Skeptics Forum|:.
    The right to be heard does not automatically
    include the right to be taken seriously.

  11. #11

    Default

    css can be a pain across browsers, especially for things like 100% height backgrounds, but wading through millions of tr and td tags is a nightmare too.

  12. #12

    Default

    and try doing this with tables
    http://www.csszengarden.com/
    .:|South African Skeptics Forum|:.
    The right to be heard does not automatically
    include the right to be taken seriously.

  13. #13
    Grandmaster
    Join Date
    Jan 2006
    Location
    Steenberg, Cape Town
    Posts
    2,149

    Default

    Thx James and sparklehorse, I got some cool new ideas.
    There are 10 types of ppl in the world those who understand binary and those who dnt ......

  14. #14
    Grandmaster
    Join Date
    Sep 2004
    Location
    Cape Town, South Africa
    Posts
    2,620

    Default

    Quote Originally Posted by ettubrute
    CSS is nice, but... What do you people do when you want a resizeable screen/content page? I'm normally using JavaScript, but not all browsers have it turned on, and then it messes up everything! In such a case, tables are useful!
    Not sure what those links say .. but I just say (for example) top:20%; etc instead of top:200px;

Bookmarks

Bookmarks

Posting Permissions

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