Q about loading large table that is centered

R

Richard

I have a table that is about 100 rows long and within that table I have tons
of links. The table takes about 2 seconds to load. I think javascript might
help somehow.

The problem is that in FireFox and Netscape, as this document is written the
page is being formated while this table is loading, and because the table is
centered horizontally and I have some right-aligned divs above that, the
table will appear to the right side of the screen for a second while it is
loading, and then it moves back to the center after the rest of the page has
loaded (until the document gets to the point where those right-aligned divs
close). I'll try to explain better...

<html>
<some divs around here that are right aligned>
<div align="center"
<table>
LOTS OF STUFF HERE
</table>
</div>
</html>

The problem is that FireFox and Netscape will do this:

<html>
<some divs around here that are right aligned>
<div align="center"
<table>
LOTS!!! OF STUFF HERE

FireFox and Netscape will SHOW the page right now, while it is loading
(IE does not).. and because there are some unclosed right aligned divs, the
table jumps from right to left as it loads.

And finally, after a couple more seconds:

</table>
<close all the right aligned divs>
</html>

And now the table jumps back to the center where it belongs.
I wish I could change the format of the page, but it is huge, and its not my
code.

I'm thinking that I can write this table to a hidden string on the server
side ASP, and use document.write after the page has loaded to write the
table. Does this sound appropriate?
 
R

Richard

never mind.. of course I'm having to rebuild the whole dang thing using divs
instead of tables.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top