How do I fit an absolute positioned html to an iframe? I need this to make it responsive to the browser. I know that it should be created using media queries but it was created using absolute positioning by using some online html tools.
So my plan is using an iframe that would resize based on the browsers width and height. Then the content inside would be scaled depending on the iframe's size.
I already tried this one
<iframe width="1024" height="768" src="http://www.bbc.com" style="-webkit-transform:scale(0.5);-moz-transform-scale(0.5);"></iframe>
But it didn't worked.
The html inside the iframe has a size of 1920x1080. The iframe has a size of 1600x900. I need to fit the 1920x1080 inside that 1600x900 so i need to scale it down.