Forum Moderators: open

Message Too Old, No Replies

iFrame scrolling

Scrolling is screwed up in my iFrames

         

Numberman

4:07 pm on Apr 12, 2004 (gmt 0)

10+ Year Member



One of my sites involves a table which contains three iFrames, a left-hand menu, a top title and a main frame for information. My main iFrame works fine normally, but if the content causes need for a vertical scrollbar, a horizontal one appears as well. Is there a way to either solve this or hide the horizontal scrollbar?

Alternative Future

4:16 pm on Apr 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Am pretty sure this is not possible.

-George

AWildman

4:25 pm on Apr 12, 2004 (gmt 0)

10+ Year Member



I believe the following happens when a vertical scrollbar appears.

Let's say your iframe is 100px wide including padding and margins. Your scrollbar eats up 15px of space. Now, you only SEE 85 px width of your iframe but there is still the extra 15 px being eaten by your scrollbar. So, I think if you give your iframe a greater width, to cover the area eaten by the vertical scrollbar, you'll be fine.