Results 1 to 6 of 6

Thread: CSS and tables

  1. #1
    Join Date
    Jun 2007
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CSS and tables

    hi
    is there any advantage(s) of using CSS for the layout of a page over using tables?
    using CSS means using DIV's....so is it better to use lots of divs instead of tables?
    if so what are they? and are they substantial?
    thanks for any comments!

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Feb 2006
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I like CSS and it's far better than tables. The problem is that different browsers will display CSS differently.

    On one site of mine I wound up using so many CSS hacks the cold was so bloated.

    In addition to the broswwer types Like IE, FireFox, K-Meleon, Opera, you have IE which will render CSS differently depending on the version. And you also have a huge segments like at my library which uses a proprietary browswer based on IE which is again different.

    Add into that different resolutions to computer screens and the widths of laptops, CSS can quickly become a problem on a complex site.

    One day when all browsers get the same rules for CSS and CSS has a standard for columns it'll look a lot better


  4. #4
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    Quote Originally Posted by Markxxx View Post
    I like CSS and it's far better than tables. The problem is that different browsers will display CSS differently.

    On one site of mine I wound up using so many CSS hacks the cold was so bloated.

    In addition to the broswwer types Like IE, FireFox, K-Meleon, Opera, you have IE which will render CSS differently depending on the version. And you also have a huge segments like at my library which uses a proprietary browswer based on IE which is again different.

    Add into that different resolutions to computer screens and the widths of laptops, CSS can quickly become a problem on a complex site.

    One day when all browsers get the same rules for CSS and CSS has a standard for columns it'll look a lot better

    unless all of the browsers merge and become one big conglomerate that will never happen. You will see similarities between browsers and/or its versions if they use the same rendering engine, however getting all of the browser companies to all apply the standards set forth by the W3C and in the same way, well... good luck.

    you also need to take into consideration the version of CSS that the browser / version supports. see http://centricle.com/ref/css/filters/ for what I mean by this

  5. #5
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    I like CSS and it's far better than tables. The problem is that different browsers will display CSS differently.
    As they do with tables.
    On one site of mine I wound up using so many CSS hacks the cold was so bloated.
    I doubt very much if the code was any more bloated than it would have been using tables. If it was, I suspect you were doing something wrong.
    In addition to the broswwer types Like IE, FireFox, K-Meleon, Opera, you have IE which will render CSS differently depending on the version. And you also have a huge segments like at my library which uses a proprietary browswer based on IE which is again different.
    The differences are tiny. Even comparing IE, one of the worst, to better browsers, the differences between them have to be less than about 15% of the specification. Between non-IE browsers, it tends to be less than 5%. A proprietary browser "based on" IE will not be any different from IE. IE is itself proprietary, and Microsoft don't allow modifications to its code. Therefore, the only way something can be "based on IE" is if it takes the IE rendering engine and uses it whole. That's basically just IE with a different interface, and won't have any rendering differences.
    Add into that different resolutions to computer screens and the widths of laptops, CSS can quickly become a problem on a complex site.
    If you're having to consider these as problems, you've designed your site badly, and it will be a bad site whether you use tables or CSS.
    One day when all browsers get the same rules for CSS and CSS has a standard for columns it'll look a lot better
    CSS has a standard for columns, the table-cell value of the display property. Unfortunately, IE doesn't support it.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  6. #6
    Join Date
    Sep 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    asasasas

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
  •