| jeddhorvath 2006-08-02, 10:46 am |
| Hi all,
I need to instruct a swf to fit my browser height OR expand beyond that
height, but NOT to be any smaller than the browser height. I wonder if you can
suggest a solution. Here's the details:
My site needs a swf sitting in the left margin to fill the browser window
height. However, if the site content is vertically long enough to warrant
scrolling down, I need for my margin swf to expand to the FULL height of the
page, not just what is viewable in the browser window.
I can accomplish this latter requirement by embedding the swf to fill 100%
height, sitting in a div tag which also holds the content. This div tag
doesn't have a style height set, so it expands to fit the content as need be.
This works fine, unless one of my page's content occupies only a small portion
of the browser height (so no scrolling required). In this case, the swf also
occupies a small portion of the browser height (100% of the content div).
My intuition is to instruct the content div to have a min-height of 100%, but
this doens't seem to work, and I know that this will cause problems in IE.
Does anyone perchance have a better idea?
Thanks,
j
|