搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox print preview

  • 2 回覆
  • 2 有這個問題
  • 1 次檢視
  • 最近回覆由 iqaz

more options

This is not a question, it is more of a statement of a Print Preview issue in Firefox 4.01 and 3.6.

When using min-height styling on a webpage, if an element (any element) extends beyond one page while using print-preview, then the element stretches AGAIN to that min-height on the second page.. In other words, min-height is re-applied, even though the element may already be that greater than that min-height.

This is not a question, it is more of a statement of a Print Preview issue in Firefox 4.01 and 3.6. When using min-height styling on a webpage, if an element (any element) extends beyond one page while using print-preview, then the element stretches AGAIN to that min-height on the second page.. In other words, min-height is re-applied, even though the element may already be that greater than that min-height.

被選擇的解決方法

You could probably use media="print" and a separate print.css file to get around that issue.

從原來的回覆中察看解決方案 👍 0

所有回覆 (2)

more options

選擇的解決方法

You could probably use media="print" and a separate print.css file to get around that issue.

more options

Haha, Mr. Smarty Pants, that is pretty much exactly what we ended up doing :) Very quick answer, though, nice stuff. It took us about a half hour so of testing to find out what was causing this issue though... we couldn't figure out why the table was extending so far until I did a print screenshot and measured it in Paint and was able to connect the dots.

(edit) Preferably, rather than doing special, kooky css that i hope looks right, maybe Firefox can fix this.. I probably should have pushed this somewhere else.. it was just difficult for me to find the bug submit area.

由 iqaz 於 修改