Search Support

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.

Learn More

CSS page breaks in emails no longer printing

  • 1 پاسخ
  • 0 have this problem
  • 1 view
  • آخرین پاسخ توسّط 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.

Chosen solution

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

Read this answer in context 👍 0

All Replies (1)

more options

Chosen Solution

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