Ver Mensaje Individual
  #2 (permalink)  
Antiguo 23/03/2012, 15:50
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 9 meses
Puntos: 1567
Respuesta: Quitar borde superior e izquierdo ventana POPUP imágen (no html)

Margin y border no son aplicables a un window.open()

lo que tenes que hacer es es crear un html que cargue la imagen, ahi le quitas margenes y bordes con css

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <title>titulo</title>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6.  
  7. <style type="text/css">
  8. /*<![CDATA[*/
  9.  
  10. /* estilos */
  11. html,body,img{
  12. border: none;
  13. margin: 0;
  14. padding: 0;
  15. outline: 0;
  16. display: block;
  17. }
  18. /*]]>*/
  19. </head>
  20. <img src="brindis.jpg" alt="" />
  21. </body>
  22.  
  23. y ese html es el que abris con window.open no la imagen
  24.  
  25. SAludos
  26. </html>
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.