This has nothing to do with php!
But go to www.hedcase.co.uk
then go to GAMES then ACTION, if you click on the images on the right of 3D games, you will see an examle there.
It uses java to make the content of a layout table go 'invisable' (just the same as if the contents of the table were deleated) so the table collaples to the original specified size. You need to make the table smaller than the size it would be if the text was in it(say hieght of 1 in your html) that is the size it will collapse to, then when the content is visable agian it will strech itself...got it?