We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Buscar en Ayuda

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

An iframe element works weird in Firefox - any ideas why?

  • 2 respuestas
  • 2 tienen este problema
  • 5 visitas
  • Última respuesta de legriv

more options

Hey there,

Sorry if this is not the right category, but I couldn't find one that seemed more appropriate. I have a question about the iframe element. My page includes it like this:

<iframe height="0" width="0" src="<some_URL>"></iframe>

within the <head> element. The purpose of this iframe is to peform some work in the background and this is legacy code - nothing that is being currently developed. When I show the page in Mozilla I see a dot in that iframe. When using IE I see nothing, which is expected.

Any ideas why Mozilla would show that dot? I'm using version 19.

Cheers, Dimitar

Hey there, Sorry if this is not the right category, but I couldn't find one that seemed more appropriate. I have a question about the iframe element. My page includes it like this: &lt;iframe height="0" width="0" src="&lt;some_URL&gt;"&gt;&lt;/iframe&gt; within the &lt;head&gt; element. The purpose of this iframe is to peform some work in the background and this is legacy code - nothing that is being currently developed. When I show the page in Mozilla I see a dot in that iframe. When using IE I see nothing, which is expected. Any ideas why Mozilla would show that dot? I'm using version 19. Cheers, Dimitar

Modificadas por cor-el el

Solución elegida

That is caused by a border that Firefox adds by default (style="border: none;")

Leer esta respuesta en su contexto 👍 2

Todas las respuestas (2)

more options

Solución elegida

That is caused by a border that Firefox adds by default (style="border: none;")

more options

Thanks a lot cor-el!