Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

10.01 Different behavior of a document with XHTML doctype and HTML5 doctype otherwise same content

  • 1 risposta
  • 1 ha questo problema
  • 3 visualizzazioni
  • Ultima risposta di the-edmeister

more options

I am trying to develop simple popup footnotes for a web site I manage. I have it working in a test page. The behavior desired is that the popup appears when the mouse hovers over the footnote number in the text. There is a "close" link inside the popup, and when dismissed, the page behind it should be exactly as it was before the popup was shown. BUT ... I initially noticed that when I dismiss the popup in a broader test of some actual documents from the site, the browser jumps back to the top of the web page. It took me quite a while to discover that the correctly working initial test page has !DOCTYPE XHTML 1.0, whereas the pages from the site are !DOCTYPE html ie HTML5. I can reproduce this at will.

I am trying to develop simple popup footnotes for a web site I manage. I have it working in a test page. The behavior desired is that the popup appears when the mouse hovers over the footnote number in the text. There is a "close" link inside the popup, and when dismissed, the page behind it should be exactly as it was before the popup was shown. BUT ... I initially noticed that when I dismiss the popup in a broader test of some actual documents from the site, the browser jumps back to the top of the web page. It took me quite a while to discover that the correctly working initial test page has !DOCTYPE XHTML 1.0, whereas the pages from the site are !DOCTYPE html ie HTML5. I can reproduce this at will.

Tutte le risposte (1)

more options

Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.
http://forums.mozillazine.org/viewforum.php?f=25
You'll need to register and login to be able to post in that forum.