Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Where can I modify the default template for html messages?

  • 4 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi bezunartea

more options

I need to write messages in HTML, with a consistent style. Unfortunately, Thunderbird currently uses pre-html5 non css styles like: <p><font size="-1" face="Arial">...

instead of: <p><span style="font-size:10.0pt;font-family:'Arial';">... which produces more accurate and consistent results.

I would like to change the initial <p><br></p> in the default template for <p><span style="font-size:10.0pt;font-family:'Arial';"><br></p>

Where can I do this?

EDIT: The html code was not show properly in the initial message.

I need to write messages in HTML, with a consistent style. Unfortunately, Thunderbird currently uses pre-html5 non css styles like: &lt;p&gt;&lt;font size="-1" face="Arial"&gt;... instead of: &lt;p&gt;&lt;span style="font-size:10.0pt;font-family:'Arial';"&gt;... which produces more accurate and consistent results. I would like to change the initial &lt;p&gt;&lt;br&gt;&lt;/p&gt; in the default template for &lt;p&gt;&lt;span style="font-size:10.0pt;font-family:'Arial';"&gt;&lt;br&gt;&lt;/p&gt; Where can I do this? EDIT: The html code was not show properly in the initial message.

Được chỉnh sửa bởi bezunartea vào

Tất cả các câu trả lời (4)

more options

You just quoted two methods, both using HTML and then asserted you need to write in HTML.

The first version, used by Thunderbird allows the rendering engine to mke the font one "size" smaller than "normal" for the device.

Your HTML will try and force your perception of beauty and readability on those using 46 inch screens and those using tiny phones. It is much better to allow the font to be stretched and shrunk based on the display. The object is to get folks to read your mail. They will not thank you if it is clownishly large or microscopic when they get it. This is one reason Thunderbird has an option to allow the user to ignore the font settings you specify,

As for how you do it. Install one of the add-ons that allow access to source and and create your own template that you use religiously. Also make sure you never ever copy anything from a word processing package or a web page as anything but plain text, as that will upset your carefully crafted HTML fonts.

more options

Thank you Matt for your response, unfortunately, it's not helpful. I understand your point, but the fact is, the font tag has been deprecated for a reason: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/font

I'm trying to introduce Thunderbird in my current company, and the most frequent complaint I get is the lack of consistency in the appearance when replying to messages written in Outlook. We need to use a corporate style so messages look the same, regardless whether they are composed with Outlook, or Thunderbird. The fact is, people have gotten used to the control over the appearance which Outlook has and, I'm sorry to say, Thunderbird lacks.

... It is much better to allow the font to be stretched and shrunk based on the display. The object is to get folks to read your mail. They will not thank you if it is clownishly large or microscopic when they get it. This is one reason Thunderbird has an option to allow the user to ignore the font settings you specify,

IMHO this is just your opinion, totally dependent on the use case. Ideally, we need to have a common set of styles (css) which can easily be used when composing messages. Our messages are not read in anything other than a workstation running Windows.

As for how you do it. Install one of the add-ons that allow access to source and and create your own template that you use religiously. Also make sure you never ever copy anything from a word processing package or a web page as anything but plain text, as that will upset your carefully crafted HTML fonts.

Could you recommend one of these add-ons?

TIA,

Pedro.

more options
more options

Thanks again Matt, unfortunately these add-ons don't solve my initial question of controlling how the default template looks.