Monday, August 10, 2015

Problem with iframes in iOS devices

iframes in iOS devices behave a little bit strange as you all knew. The content displays outside of the iframe. There are many way to fix that issue, here is a quick one:

Just replace the iframe tag with embed and everything will be fine.

<embed src="..." type="text/html" ...></embed>