Forum Moderators: open

Message Too Old, No Replies

Content resizes frame

         

skilskilskil

7:21 pm on Jul 3, 2008 (gmt 0)

10+ Year Member



Is there a way to get <frame> to automatically expand based upon the height of the content so that it doesn't spawn scrollbars? I've seen this done on iframes using javascript but need it to work using frames.

tedster

8:37 pm on Jul 3, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



A frameset is designed to fill the viewport exactly, so there's no work-around I can think of that would stop the frame from generating its own scrollbar.

Absolute lengths that do not sum to 100% of the real available space should be adjusted by the user agent. When underspecified, remaining space should be allotted proportionally to each view. When overspecified, each view should be reduced according to its specified proportion of the total space.

[w3.org...]