Ver Mensaje Individual
  #5 (permalink)  
Antiguo 12/05/2013, 10:33
jmm87
 
Fecha de Ingreso: octubre-2012
Mensajes: 202
Antigüedad: 11 años, 6 meses
Puntos: 0
Respuesta: Transparencia iframe

gracias por la ayuda!.. el inconveniente es q sigue haciendo lo mismo
le puse al css lo siguiente:
Código CSS:
Ver original
  1. body {
  2.     line-height: 1.5em;
  3.     color: #6a6a6a;
  4.     background: transparent;
  5.     font-family: Arial, Helvetica, sans-serif;
  6.     font-size: 13px;
  7. }

y al iframe:

Código HTML:
Ver original
  1. IFRAME NAME="galeria" SRC="galeria/galeria.html" WIDTH="100%" HEIGHT="390" FRAMEBORDER="0" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" allowTransparency="true"></IFRAME>
Cita:
Iniciado por pzin Ver Mensaje
Normalmente los ifames tienen un fondo transparente por defecto. En IE8 y anteriores el truco era ponerle allowTransparency:

Código HTML:
Ver original
  1. <iframe allowTransparency="true">

y sigue tapandome el fondo del primer html con un fondo blanco. alg

Claro que, la página que vayas a cargar en ese iframe no tendría que tener ningún fondo especificado. O si acaso, un:
Código CSS:
Ver original
  1. body {
  2.   background: transparent;
  3. }