Have you noticed this about TABLEs and DIVs?

Discussion in 'HTML & Website Design' started by SoftCloud, Feb 27, 2007.

  1. #1
    Am I the only one that notices that if you have a full table layout the tables load first (with the colours) then the content, though with DIV/CSS full layouts the content loads first, then the layout turns on.

    Just a little thought that kept pondering in my mind. Has anyone else noticed it??
     
    SoftCloud, Feb 27, 2007 IP
  2. Aragorn

    Aragorn Peon

    Messages:
    1,491
    Likes Received:
    72
    Best Answers:
    1
    Trophy Points:
    0
    #2
    That is the biggest disadvantage of Table. The content is visible only after the whole table is loaded (atleast the whole row is loaded). This is a well known fact :)
     
    Aragorn, Feb 27, 2007 IP
  3. SoftCloud

    SoftCloud Well-Known Member

    Messages:
    1,060
    Likes Received:
    28
    Best Answers:
    2
    Trophy Points:
    120
    #3
    So I take it using a full DIV / CSS layout is a good thing? (Like for search engine spiders - especially if your site loads pretty slowly)
     
    SoftCloud, Feb 28, 2007 IP
  4. pprabhu

    pprabhu Well-Known Member

    Messages:
    80
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #4
    Yes, I find it okay as long as the design is rendered styling the content after the css loads. Few clients have complained about this behavior, for them I unhide the container div after the page loads. They seem to be happy with it. They are happy, I am happy :0
     
    pprabhu, Feb 28, 2007 IP
  5. Aragorn

    Aragorn Peon

    Messages:
    1,491
    Likes Received:
    72
    Best Answers:
    1
    Trophy Points:
    0
    #5
    It takes a good amount of time to create a cross browser table less design. But it is worth the effort.
     
    Aragorn, Feb 28, 2007 IP
  6. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #6
    First, any non-trivial table layout takes longer to render than the same design in css. A table requires at least two passes to display, and the file size of all the table and other presentation markup will nearly always be larger than the html + css files of a modern web page.

    Second, you seem to be witnessing a flash of unstyled content, or fouc. That's an IE bug; Google is your friend. Just one more reason to loathe that pig of a browser.

    cheers,

    gary
     
    kk5st, Feb 28, 2007 IP