X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   An HTML question, size of tables (https://forum.x-cart.com/showthread.php?t=20032)

alru111 02-20-2006 06:20 AM

An HTML question, size of tables
 
I have a dumb question that I can't figure out.
When one of the tables on my site is loading it is stretched about twice of it's original width, when all pictures in it are done loading it's back to its given width.
I seemed to define all <td> with tags. Don't know where else to look.

Any ideas

balinor 02-20-2006 08:50 AM

HTML tables load in the order they are coded. So the large table loads first, before the right hand column and the closing tags. Some browsers assume the cell is full width until it encounters the next cell or closing tags. Since that cell probably has to wait until all the images are in until it loads the next cell, you get that delay. If you are using fancy categories, you will also get a delay as that thing is a huge piece of code.

alru111 02-20-2006 10:45 PM

so the only way is to make table content smaller?

interesting that the table loads up in correct size when in firefox.
the problem is only in IE

balinor 02-21-2006 03:41 AM

Like I said, some browsers do, some don't. I wouldn't worry about it.


All times are GMT -8. The time now is 11:10 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.