Como ocultar los bordes de un Iframe en IE (Internet Explorer)
Hoy nuevamente y para variar el IE me ha hecho perder una buena cantidad de tiempo, tal ves por ceñirse al estándar de html o que se yo, pero el echo es que quería mostrar un iframe en una página y en firefox, el iframe sale sin ningún tipo de bordes, pero en IE por más que intenté por css quitar todos los bordes no lo conseguía.
La siguiente imagen es un iframe clásico como lo escribiríamos muchos:
<iframe class=”frmPubIzquierda” src=”laurl” width=”116″ scrolling=”no” height=”60″></iframe>
Como no queremos ver los bordes, lo que tenemos que hacer es fijar otros atributos html del elemento iframe. (ver todos los atritbutos de iframe). Estos atributos son:
frameborder: Define el borde del marco (ancho) (Efecto IE si no se pone a 0: Color gris alrededor)
marginwidth: Especifica la distancia entre el margen izquierdo y el contenido (Efecto IE si no se pone a 0: Color gris a la izquierda)
marginheight: Especifica la distancia entre el margen superior y el contenido (Efecto IE si no se pone a 0: Color gris a la arriba)
Así que para solucionarlo, simplemente añada estos atributos con valor ’0′ en la declaración del iframe
<iframe class=”frmPubIzquierda” src=”laurl” width=”116″ scrolling=”no” height=”60″ frameborder=’0′ marginwidth=’0′ marginheight =’0′></iframe>


febrero 11th, 2009 at 7:14 pm
Perfecto aporte muchas gracias a mi el ie tambien me vuelve majara!!!
septiembre 23rd, 2009 at 5:59 am
muchas gracias amigo, ya me estaba iniciando a matar la cabeza, definitivamente explorer suck
octubre 26th, 2009 at 12:53 am
Muchas gracias!!! me estaba volviendo loca!! muerte al explorer!
diciembre 2nd, 2009 at 2:58 am
muchísimas gracias , yo estaba haciendo desde poner style o ponerme a hacer otra forma.
creo que uno lo le de mas mente y los problemas mas difíciles se arreglan con cosas sencillas
diciembre 5th, 2009 at 2:15 am
Gracias amigo muy buena aportacion
agosto 9th, 2010 at 6:07 pm
Buen aporte !!! muchas gracias ya se me estava haciendo dificil encontrarle una solucion a este problema qu veo varios tenemos con el IE. Saludos… sigue asi
septiembre 8th, 2010 at 9:09 pm
Muchas gracias! Ha sido de gran utilidad
septiembre 30th, 2010 at 11:04 pm
Muchas gracias por tu colaboración has sido de gran ayuda
octubre 26th, 2010 at 6:40 am
No hay de que, me alegra que sea de ayuda
marzo 30th, 2011 at 4:40 pm
Men un 10 completo con esto hahahah me acabas de ahorrar tiempo y estres, para los nuevos en esto de las paginas pta un chulada estos consejos
junio 30th, 2011 at 3:12 pm
Muchas gracias!!
julio 14th, 2011 at 11:12 am
Often it occurs that the global network is filled by web blogs and you can find a web blog of any topic. This variety of blogs can make back links really workable. The forum profile service can find blogs that will fit your kind of business. Thence, you can have got proper clients and higher ranking!
agosto 23rd, 2011 at 3:40 am
I really like the dear information you offer in your articles. I’m able to bookmark your site and show the kids check out up here generally. I’m fairly positive they are likely to be informed a great deal of new stuff here than anyone else!
agosto 30th, 2011 at 5:31 am
Oh dear Blog God… I love this post so much!
agosto 31st, 2011 at 8:49 am
Thank you and looking for more posts. I am really satisfied with this posting that you have given us. This is really a stupendous work done by you.
septiembre 5th, 2011 at 5:53 am
I think that your perspective is deep, its just well thought out and really fantastic to see someone who knows how to put these thoughts down so well. Great job on this.
septiembre 5th, 2011 at 9:05 am
hiou juh hahf jied aefoju dtetg jaotgr jad dgrh a agre dgwr dag, youraj fag beko jaig hauie,thanakes.
septiembre 7th, 2011 at 5:28 am
Mèsi pou atik ou, mwen renmen, mwen swete gen se tankou yon bon opòtinite li atik la.
septiembre 9th, 2011 at 10:32 am
I have been meaning to write something like this on my website and you have given me an idea. Cheers.
septiembre 18th, 2011 at 6:01 pm
Centralize on what you are going to do at moment and aftertime, and have hope that the boundary will approach when it is damn well prepared. Or maybe thesis is what you need . Thanks.
octubre 12th, 2011 at 10:44 am
Or maybe thesis is what you need . Thanks.
octubre 30th, 2011 at 5:11 pm
Esta información es muy interesante yo estoy tratando sobre ella más profundamente en mi blog
noviembre 12th, 2011 at 10:53 am
Thanks for solving the issue my designer had been looking for quite a long time. This was helpful and resolved the bug.
diciembre 1st, 2011 at 6:16 am
I found this is an informative and interesting post for I think it is very useful and knowledgeable. I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing ability has inspired me.
enero 12th, 2012 at 12:23 pm
I would like to thank you for the efforts which you have made in writing this article. Nice to such useful and informative article.
enero 15th, 2012 at 2:49 pm
En E9 no me funciona :/
Fuckin E9!