Closed Bug 1856112 Opened 2 years ago Closed 2 years ago

Thunderbird 115 enlarges html-Signatur

Categories

(Thunderbird :: Mail Window Front End, defect)

Thunderbird 115
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: rjahn, Unassigned)

Details

Attachments

(4 files)

Attached file TB 115.docx

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0

Steps to reproduce:

Thunderbird 115 enlarges size of the HTML-Signatur by itself. See file description
Any ideas - are welcomed

From your document:
Look while creating a mail - OK
The look in the SENT mail - Too big.

So please save a sent mail as .eml file and attach it here for inspection.

Well, the signature is really bad HTML, the large space after Robert Jahn can be explained by a <br> at font size +3:

<div align="left"><b></b><br>
<font face="Arial"><font color="000000">
<font size="3">Mit besten Grüßen<br>
<font face="Monotype Corsiva"><font color="0000FF">
<font size="+3">Robert Jahn<br>
<font face="Arial"><font color="0000FF">
<font size="1">IBM-KEXI Mitgliederverwaltung<br>
<font face="Microsoft Sans Serif"><font
color="000000">
<font size="-4"><a class="moz-txt-link-freetext" href="mailto:robert@kexi.at">mailto:robert@kexi.at</a><br>
<font face="Arial"><font color="FB0C44">
Bitte Empfang bestätigen<br>

Make it:

<div align="left"><br>
<font face="Arial" color="000000" size="3">Mit besten Grüßen</font><br>
<font face="Monotype Corsiva" color="0000FF" size="+3">Robert Jahn</font><br>
<font face="Arial" color="0000FF" size="1">IBM-KEXI Mitgliederverwaltung</font><br>
<font face="Microsoft Sans Serif" color="000000" size="-4"><a class="moz-txt-link-freetext" href="mailto:robert@kexi.at">mailto:robert@kexi.at</a></font><br>
<font face="Arial" color="FB0C44">Bitte Empfang bestätigen</font><br>

The bug is a support case which shouldn't have been filed here and hence INVALID.

It would also be better to use absolute font sizes everywhere to avoid confusion.

New html-code doesn't work as expected (see new eml-file)
How would it look with 'absolute font size' ?? Sorry

<div align="left"><br>
<font size="3" face="Arial" color="000000">Mit besten Grüßen</font><br>
<font size="6" face="Monotype Corsiva" color="0000FF">Robert Jahn</font><br>
<font size="1" face="Arial" color="0000FF">IBM-KEXI Mitgliederverwaltung</font><br>
<font size="1" face="Microsoft Sans Serif" color="000000"><a
class="moz-txt-link-freetext" href="mailto:robert@kexi.at">mailto:robert@kexi.at</a></font><br>
<font size="1" face="Arial" color="FB0C44">Bitte Empfang bestätigen</font><br>
</div>

And that doesn't look good? Try size="0" instead of size="1".

it remains to be too big - see new eml

OK - I think we can close the item, thanks for your patience

By the way - BEFORE 115 it worked for YEARS w/o problems. Our workaround doesn't catch the really cause.
Regards Robert

The HTML shown in comment #3 has been wrong for years since the font tags were never closed. Display results were random. Comment #7 is the best that is doable with simple HTML, otherwise you need to use CSS:

<div style="font-family: Arial; font-size: 16px; color: black;">Mit besten Grüßen</div>
<div style="font-family: 'Monotype Corsiva'; font-size: 32px; color: blue;">Robert Jahn</div>
<div style="font-family: Arial; font-size: 12px; color: blue;">IBM-KEXI Mitgliederverwaltung</div>
<div style="font-family: 'Microsoft Sans Serif'; font-size: 12px; color: black;"><a class="moz-txt-link-freetext" href="mailto:robert@kexi.at">mailto:robert@kexi.at</a></div>
<div style="font-family: Arial; font-size: 12px; color: #FB0C44;">Bitte Empfang bestätigen</div>

That looks pretty good to me and it looks the same in compose window and saved/sent message.

Do you realise that with whatever signature your sent, there is no guarantee that the recipient will see it the same way? The version above is likely the most stable since it gives pixel sizes instead of "font size". Specifying fonts like 'Monotype Corsiva' or 'Microsoft Sans Serif' is a bad idea because recipients may not have those fonts and their system will select some other font. Instead of 'Microsoft Sans Serif' some other sans serif is suggested, or put it as fallback:
font-family: 'Microsoft Sans Serif', sans-serif; and font-family: 'Monotype Corsiva', cursive.
See https://developer.mozilla.org/en-US/docs/Web/CSS/font-family for details.

thanks for your solution, I took it over to salutation standard
Robert

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: