How to auto resize the page vertically
Posted on 2006-11-13
I have a fixed size flash object, which should be centered on the page. Next, I need a text line (copyright text) to appear on the bottom edge of the browser window, whatever the viewing area is, but never overlap the flash image. I tried a simple solution to create a table as
<table width="100%" height="100%">
However, the problem is that it resizes the hieght of the table, but the 2nd row (Copyright text) is always below the viewing area and it creates scroll bars.
Of course, I could create an iframe, place the text here and use jscript onload function - something like
but I am sure there should be something more simple.