Forum Moderators: open

Message Too Old, No Replies

<iframe> wont scroll if position absolute

         

BootySlap

11:03 am on May 8, 2003 (gmt 0)

10+ Year Member



I have an <iframe> with its style property position set to 'absolute'. Now when the content inside the iframe overflows, a scrollbar appears.

Now you can scroll down in Opera and IE but you cannot move the scrollbar in NN7.

It all works fine when position is set to relative or anything else. But I cannot use any of these positions because they all are aligned differently for each browser!

Any ideas?

Cheers.

SuzyUK

12:16 pm on May 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Bootyslap I can't recreate this? as in I tested it and the scroll is working fine in NN7

perhaps there's something else on the page which is "overlapping" the iframe? try giving the iframe a high(er) z-index ..

Suzy

ncsuk

12:27 pm on May 8, 2003 (gmt 0)

10+ Year Member



Show me the code or paste it in here and ill fix it. I love I frames so I should be able to sort it for you.

BootySlap

9:43 pm on May 8, 2003 (gmt 0)

10+ Year Member



omg suzy was right! Setting a higher z-index worked a treat! geez so simple and I thought I tried everything heheh thanks people!

BootySlap

2:43 am on May 9, 2003 (gmt 0)

10+ Year Member



Another quick question (geez I love these forums!) anyone know how to get a border around an iframe to display properly in opera?

It only shows the top and left hand side borders.