1 (edited by JeanC 2009-03-15 16:36)

Topic: iframe scrollbar & width issues

Hi,

I use punbb in an iframe like this:

<iframe src=punbb/index.php width=90% height=90% frameborder=0 allowtransparency=yes></iframe>

But both opera and IE incorrectly display a horizontal scrollbar.
Opera when displaying the forums and topics, not while displaying posts , and you can scroll a lot horizontally.

The one IE displays is only when displaying a list of posts that require a vertical scrollbar, because of the vertical scrollbar, the page suddenly 'gets wider' and a horizontal appears if you know what I mean.

Firefox seems to always display correctly.

Can I fix this?

I tried adding style="overflow-x: hidden;" to the iframe but it does not help.


My site is here http://planetdance.dyndns.org

Thx.

2

Re: iframe scrollbar & width issues

I managed to fix IE with some browser detection code, adding scrolling=yes and horizontalscrolling=no

Opera still displays horizontal scrollbar no matter what I come up with.