Iframe with auto height

For iframe with auto height just use this code


   1:  <iframe style="height: 100%; position: absolute; " />


This code will position your iframe in the upper, left corner of your page. If you want to place it in a different position just use: 
<iframe style="height:100%; position: absolute; top:(number of pixels or % from top)px/%;left:(number of pixels or % from left)px/%;>
e.g.: 
   1:  <iframe style="height:100%; position: absolute; top:100px/; left:150px;>

No comments:

Post a Comment