Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Where can I modify the default template for html messages?

  • 4 réponses
  • 1 a ce problème
  • 2 vues
  • Dernière réponse par 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.

Modifié le par bezunartea

Toutes les réponses (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.