Posted By

dottDesign on 04/29/10


Tagged

iframe css textmate


Versions (?)

Position Inside iFrame


 / Published in: Other
 

  1. <div id='outerdiv'>
  2. <iframe src="http://www.yahoo.com/" id='inneriframe' scrolling=no></iframe>
  3. </div>
  4.  
  5. #outerdiv
  6. {
  7. width:446px;
  8. height:246px;
  9. overflow:hidden;
  10. position:relative;
  11. }
  12.  
  13. #inneriframe
  14. {
  15. position:absolute;
  16. top:-412px;
  17. left:-318px;
  18. width:1280px;
  19. height:1200px;
  20. }

Report this snippet  

You need to login to post a comment.