CSS + FireFox: hiding scrollbar on iframe with scrolling=yes

后端 未结 2 473
猫巷女王i
猫巷女王i 2020-12-21 02:29

I have an iframe with scrolling=yes. Is it possible to fully hide scrollbar using CSS for the Mozilla FireFox browser?

For instance, on the Internet Explorer I\'m us

相关标签:
2条回答
  • 2020-12-21 02:58

    Have you tried setting explicit values for width/height on either the iframe or parent container? Also, does your iFrame contain anything?

    EDIT: Try:

    div {overflow:hidden;}
    div iframe {border:0;overflow:hidden;}
    

    in your actual page that contains the div.

    0 讨论(0)
  • 2020-12-21 03:19

    I've tried everything you said and looked at this two links either ( How to remove scrollbars from Facebook iFrame application - facebook canvas height no scroll set in ie8 and firefox) that discuss the same problem, but it didn't work for me.

    What worked for me was changing the canvas settings in the section advanced of app canvas configuration ( https://developers.facebook.com/apps ) to fixed canvas width (760px) and height (fixed at 800).

    I hope this help you.

    0 讨论(0)
提交回复
热议问题