Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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

  • 2 ответа
  • 2 имеют эту проблему
  • 5 просмотров
  • Последний ответ от 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;")

more options

Thanks a lot cor-el!