www.webdeveloper.com
Results 1 to 7 of 7

Thread: tables collapse despite fixed widths, and need to be refreshed

  1. #1
    Join Date
    Sep 2003
    Location
    Bloomington, Indiana
    Posts
    5

    tables collapse despite fixed widths, and need to be refreshed

    Why do tables and td's collapse sometimes when they have fixed widths? the look fine after a refresh, but occasionally collapse down on first load.

  2. #2
    Join Date
    Sep 2003
    Posts
    187
    Even if there is a fixed widht, if there is nothing at all in the td's they might collapse because of the way browsers layout tables.

    Got a link to the problem?

    Do you use spacer gifs?

    MNS

  3. #3
    Join Date
    Sep 2003
    Location
    Bloomington, Indiana
    Posts
    5
    Yeah, I use spacer images, but this happens even with regular gifs and jpgs too though. the table will collapse on itself sometimes, but looks fine after a refresh. here's a link

    http://bpo.indiana.edu

  4. #4
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    First validate your page.
    There are about 200 corrections that need to be made.

    Do you mean tables do not appear (validate) or that images do not appear (IE bug)?

  5. #5
    Join Date
    Sep 2003
    Location
    Bloomington, Indiana
    Posts
    5
    everything still appears to some extent. its never a matter of content not showing up at all. in fact this problem actually occurs very rarely, but sometimes images within a table will become overlapped, as if the table has collapsed. when the page is refreshed everything looks fine.

  6. #6
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    All images should have height and width attributes, this will help with the correct layout during loading.
    Then validate! Invalid code causes errors in layout.

  7. #7
    Join Date
    Sep 2003
    Location
    Bloomington, Indiana
    Posts
    5
    i'll check both of those possibilities. thanks for the advice!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles