Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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

  • 2 отговора
  • 2 имат този проблем
  • 14 изгледи
  • Последен отговор от 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

Променено на от cor-el

Избрано решение

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

Прочетете този отговор в контекста 👍 2

Всички отговори (2)

more options

Избрано решение

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