0

I have implemented iframe like this

<iframe name="Container" width="100%" height="900px" frameborder="0"></iframe>

Here i am fixing the height using pixels which will create problem when i change screen resolution. Since content which will be displayed in iframe vary every time(target used for different html's to display in iframe )Hence i want to fix frames height in Percentage.So that it could display whole content without scroll bar. Thank you

Rory McCrossan
  • 331,213
  • 40
  • 305
  • 339
vkc
  • 83
  • 1
  • 1
  • 9
  • You might want to take a look at this: http://stackoverflow.com/questions/325273/make-iframe-to-fit-100-of-containers-remaining-height – tvgemert Jun 17 '15 at 08:22

1 Answers1

0
<iframe name="Container" width="100%" height="100%" frameborder="0"></iframe>

Try this code. You can set height equal to 100%. In order to solve the problem

António Almeida
  • 9,620
  • 8
  • 59
  • 66
Anandh Sp
  • 787
  • 6
  • 24