搜尋 Mozilla 技術支援網站

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

了解更多

CSS page breaks in emails no longer printing

  • 1 回覆
  • 0 有這個問題
  • 1 次檢視
  • 最近回覆由 vince30

more options

Previously if we crafted an HTML email we could use the @media print CSS section to force a page break before or after an element. With Thunderbird 102.9.0 the CSS for forcing a page break is being ignored in HTML emails.

If I save the message source as an HTML file and open it in Firefox the print preview shows the correct page breaks, but in Thunderbird the content all runs together.

Previously if we crafted an HTML email we could use the @media print CSS section to force a page break before or after an element. With Thunderbird 102.9.0 the CSS for forcing a page break is being ignored in HTML emails. If I save the message source as an HTML file and open it in Firefox the print preview shows the correct page breaks, but in Thunderbird the content all runs together.

被選擇的解決方法

A related article seems to have the answer. https://support.mozilla.org/en-US/questions/1299877

This can be addressed by changing: mail.html_sanitize.drop_conditional_css to false

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

所有回覆 (1)

more options

選擇的解決方法

A related article seems to have the answer. https://support.mozilla.org/en-US/questions/1299877

This can be addressed by changing: mail.html_sanitize.drop_conditional_css to false