Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Search Support

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 majibu
  • 2 wana tatizo hili
  • 5 views
  • Last reply by 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

Modified by cor-el

Chosen solution

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

Read this answer in context 👍 2

All Replies (2)

more options

Suluhisho teule

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

more options

Thanks a lot cor-el!