Click to See Complete Forum and Search --> : tables collapse despite fixed widths, and need to be refreshed


jarfarri
09-25-2003, 04:27 PM
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.

MotherNatrsSon
09-25-2003, 04:44 PM
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

jarfarri
09-26-2003, 01:25 PM
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

Fang
09-27-2003, 03:09 AM
First validate (http://validator.w3.org/) 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)?

jarfarri
09-29-2003, 11:40 AM
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.

Fang
09-29-2003, 12:13 PM
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.

jarfarri
09-29-2003, 12:48 PM
i'll check both of those possibilities. thanks for the advice!