Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

Why are font sizes different when formatting is the same?

  • 2 réponses
  • 2 ont ce problème
  • 29 vues
  • Dernière réponse par coffent

more options

When I reply to an HTML message (in HTML) the text I type is a different size than that in the original message. The original message text is "Body Text, Arial, Medium". If I format my reply text exactly the same, the font is smaller than the original. If I increase the font size, then the font is larger than the original. Why aren't text passages formatted in exactly the same way, the same?

When I reply to an HTML message (in HTML) the text I type is a different size than that in the original message. The original message text is "Body Text, Arial, Medium". If I format my reply text exactly the same, the font is smaller than the original. If I increase the font size, then the font is larger than the original. Why aren't text passages formatted in exactly the same way, the same?

Solution choisie

While Thunderbird may be telling you it is Arial medium. Most likely it is Arial and a number either in points or pixels. Microsoft Outlook in particular spend inordinate amount of space on specifying fonts in point (which are actually no good in HTML)

The only way to be sure exactly how the original mail is defined is to look at the message source (ctrl+U)

Lire cette réponse dans son contexte 👍 2

Toutes les réponses (2)

more options

Solution choisie

While Thunderbird may be telling you it is Arial medium. Most likely it is Arial and a number either in points or pixels. Microsoft Outlook in particular spend inordinate amount of space on specifying fonts in point (which are actually no good in HTML)

The only way to be sure exactly how the original mail is defined is to look at the message source (ctrl+U)

more options

Thanks - you're right. ctrl+U shows the original message as

"[div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"]"

and my reply as "[font face="Arial"][span id="yui_3_16_0_1_1445372843970_36749"][font size="+1"]" (where I've substituted "[" for ">")

Modifié le par coffent