Ver Mensaje Individual
  #13 (permalink)  
Antiguo 16/12/2009, 17:05
mariomon17
 
Fecha de Ingreso: noviembre-2009
Mensajes: 846
Antigüedad: 14 años, 5 meses
Puntos: 34
Respuesta: Recortar pagina con Iframe

Alli t explica cómo hacerlo con CSS:
Código HTML:
Ver original
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
  2.   <head>
  3.     <title>New Document</title>
  4.     <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
  5.     <style type="text/css">
  6.         #outerdiv
  7.         {
  8.         width:446px;
  9.         height:246px;
  10.         overflow:hidden;
  11.         position:relative;
  12.         }
  13.  
  14.         #inneriframe
  15.         {
  16.         position:absolute;
  17.         top:-412px;
  18.         left:-318px;
  19.         width:1280px;
  20.         height:1200px;
  21.         }
  22.     </style>
  23.     </head>
  24.     <body>
  25.         <div id='outerdiv'>
  26.         <iframe src="http://www.yahoo.com/" id='inneriframe' scrolling=no></iframe>
  27.         </div>
  28.     </body>
  29. </html>