0

Is it possible to have scrollbars on a webpage when it must have overflow:hidden for use in an iFrame?

Charles
  • 50,943
  • 13
  • 104
  • 142
Matt
  • 1
  • 1
  • 2
  • Not sure what you mean - which behaviour would you want to trigger, scrollbars or no scrollbars? – Pekka Jan 29 '12 at 17:15

2 Answers2

0

I think the best solution is scrolling="no" so it should be:

<iframe src="page.html" scrolling="no" style="overflow: hidden;">

as suggested here

Community
  • 1
  • 1
Magico
  • 2,814
  • 1
  • 16
  • 17
0

Leave the web page as it is, and the on the <iframe>, use:

<iframe src="page.html" scrollbars="no" style="overflow: hidden;">
lorenzo-s
  • 16,603
  • 15
  • 54
  • 86