SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    SitePoint Evangelist kuhajeya's Avatar
    Join Date
    Sep 2003
    Posts
    486
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to convert tables to css?

    hi,

    is there any easy way to convert table layout to css layout? Can some tell me some guidence on this?

    Thanks

  2. #2
    SitePoint Zealot webox's Avatar
    Join Date
    Sep 2005
    Posts
    183
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nope there isn't an easy way to do it. You will just have to convert it yourself. If you have sliced the image in Photoshop just reslice it with CSS instead of tables. Otherwise you will have to learn yourself

  3. #3
    SitePoint Addict
    Join Date
    Mar 2005
    Posts
    314
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you are truely looking for a good way to learn how to handle tableless layout, the best thing for you to do is read up on CSS books and test, trial and error like the rest of Sitepoint members.

    It is possible to do, but it's not really possible to make it look exactly the same for the countless browsers and their competitors available today. Something that looks nice on IE will not look the same on NS or FF. At least, it will never be a perfect match on multiple browsers..

    Regards,
    Peter

  4. #4
    SitePoint Enthusiast Semko's Avatar
    Join Date
    Nov 2004
    Location
    Europe
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    those <div> things can be a pain in the a** at first, but hell I like 'em much better

    e-marketing articles

    my private collection

  5. #5
    CSS & JS/DOM Adept bronze trophy
    Join Date
    Mar 2005
    Location
    USA
    Posts
    5,482
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You should test in good browsers like Firefox and Opera as well as in IE.

    Quote Originally Posted by psalzmann
    It is possible to do, but it's not really possible to make it look exactly the same for the countless browsers and their competitors available today. Something that looks nice on IE will not look the same on NS or FF. At least, it will never be a perfect match on multiple browsers..
    Not always pixel perfect, but people like Paul O'Brien, BonRouge, and myself can get really close most of the time. And since most people don't look at the same page in more than one browser pixel perfection is way overrated.
    We miss you, Dan Schulz.
    Learn CSS. | X/HTML Validator | CSS validator
    Dynamic Site Solutions
    Code for Firefox, Chrome, Safari, & Opera, then add fixes for IE, not vice versa.

  6. #6
    SitePoint Addict
    Join Date
    Feb 2004
    Location
    Netherlands
    Posts
    381
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The best way to convert your table layout to CSS is to understand how CSS works.

    Stop thinking in tables, start thinking in modern web design!

  7. #7
    SitePoint Evangelist kuhajeya's Avatar
    Join Date
    Sep 2003
    Posts
    486
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i guess u have to pay a real lot of time to do a page in css rather than table based layout, but u still have the cross browser problems a lot.

    And u still want to go for the css based layout!!!, what is real motivation that would drive u for css layout?

  8. #8
    SitePoint Addict
    Join Date
    Feb 2004
    Location
    Netherlands
    Posts
    381
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Main motivation:

    Your content is seperated from the design, this gives great flexibility

  9. #9
    Non-Member Egor's Avatar
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    7,305
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by kuhajeya
    i guess u have to pay a real lot of time to do a page in css rather than table based layout, but u still have the cross browser problems a lot.

    And u still want to go for the css based layout!!!, what is real motivation that would drive u for css layout?
    Like most other skills, CSS takes time to learn. There's no simple way around that.

    Motivation? Just browse through this forum and read about all the benefits.


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
  •