View Full Version : iframe side scroll bar but not bottom
mdray00
07-18-2007, 12:15 PM
Hi guys quick question is there a way so that I have have just the scroll bar on the side and not the scroll bar on the bottom?
Thanks
Veronica
07-18-2007, 02:12 PM
Best way is to make sure that the width of the content of the iframe doesn't exceed the width of the iframe itself. If it does, people will need the horizontal scrollbar to see it.
Sometimes, you also get the horizontal scrollbar if the width is off just a bit, for example, you may need to enlarge the width of the iframe container by 10-20 px to make room for the vertical scrollbar, margins, etc.
IN FF, you can disable the horizontal scrollbar with <iframe ... style="overflow-x: hidden; overflow-y: scroll;">></iframe> But this won't work in IE.
There are also some other problems with IE6. This article has some workarounds http://www.adobe.com/devnet/dreamweaver/articles/horizontal_scroll.html
mdray00
07-19-2007, 01:57 PM
hi i have trive everything.
http://www.healthier-options.com/sports/index.php?act=viewDoc&docId=64
here is the link. the iframe is at the bottom of the page. As you can see the page is by far smaller than the size of the fame. But it still puts the bas in. I need the vertical bar but not the horizontal one. If you open the page on a mac then there is no horizontal bar. there is only a bar in Internet explorer any ideas?
jscheuer1
07-19-2007, 05:07 PM
I only see a vertical scroll bar in IE's 5.5, 6, and 7.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.