How to get rid of the double scroll bar problem when using an iframe
Posted
by stu
on Stack Overflow
See other posts from Stack Overflow
or by stu
Published on 2010-05-03T14:29:36Z
Indexed on
2010/05/03
14:48 UTC
Read the original article
Hit count: 335
I've seen this problem on the web, and all the suggested solutions aren't working for me, so I thought I'd come here.
I have a page that has an iframe. The top of the page is a dropdown menu, the rest of the page is the iframe. The idea like I'm sure everybody else does, is to have the menu stay stationary and the menu selection runs an application in the iframe. The contents of the iframe should scroll, but the page as a whole should not.
I've tried putting the iframe width=height=100%
inside a single table element also with width=height=100%
but I get two scrollbars if I make the window too short vertically.
Any suggestions?
© Stack Overflow or respective owner