当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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

  • 1 件の返信
  • 1 人がこの問題に困っています
  • 3 回表示
  • 最後の返信者: 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.

すべての返信 (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.