Click to See Complete Forum and Search --> : filling table with images


markvl
01-13-2003, 03:42 AM
I'm using document.write to create table-rows (and cells) and a variable (counter) to make up the SRC of the image I want to have in a particular cell (so every cell will have a different image).
This works fine in IE5+ and NN7+, but when opening this page the images are first put outside the table (i.e left and right on the page - the table is smaller and centered)) and then quickly put at the right place inside the table. The end-result is fine, but I would like the filling to start at the right table-cells from the start. Using a transparant GIF to make sure the table cells are really of the right height (although this is also given as an attribute of TD) doesn't make any difference.
Does anyone have any suggestions to solve this?

Stefan
01-13-2003, 05:01 AM
Originally posted by markvl
Does anyone have any suggestions to solve this? [/B]

Perhaps start writing with <table style="visiblity:hidden;"> and when it's all written change to visibility:visible ?

Of cource another approch would be to not abuse <table> for general layout to begin with.