i am trying to make an iframe responsive, in order to be correctly viewed on mobile devices etc, and what i am doing, although it is working good on mobile devices, it ruins the iframe on normal displays.
the iframe is that
<div class="conti" align="center" >
<iframe id="extFrame" src="html5/Project1.html" height="600px" width=" 800px"></iframe>
</div>
and the css style is
<style>
.conti {
position: relative;
padding-bottom: 75%;
height: 0;
overflow: hidden;
}
.conti iframe {
position: absolute;
top:0;
left: 0;
width: 100%;
height: 100%;
}
</style>
that above makes the iframe full width but i want it 800*600. any help?