Font in HTML signature
Hi, I created an HTML file for signature including <body style="font-family: Arial; font-size:12px;"> When I create a new message, the signature looks ok but by selecting the text in the signature the font is "Largeur variable" and not Arial. In the options > Rédaction > Général HTML font selected is Arial.
Any idea to fix the font as Arial instead of Largeur variable? Or how to fix Largeur variable as Arial?
Thanks in advance for your help
Valitud lahendus
re :I created an HTML file for signature including <body style="font-family: Arial; font-size:12px;">
I presume you did not use Thunderbird to create the HTML file.
To save you time, I suggest you use Thunderbird to create the signature html file.
Helpful link on signature: https://support.mozilla.org/en-US/kb/signatures#w_signatures-stored-in-files
Click on 'Write' to open new composing window. Clear all signatures etc.
Press Enter to create a clear line as this does seem to improve the position of signature. Create the signature using the Formatting Bar. If you are creating something a bit more complicated then use a table to control positioning.
File > Save as > File Save in a suitable location - I created a 'Signatures' folder on desktop where I keep any html file or image etc used in a signature. Give suitable name click on 'Save'
Then access 'Account Settings' for account Select : 'Attach the signature from a file instead..' Click on 'Choose' and locate the file you just created. click on 'Open' click on OK
Loe vastust kontekstis 👍 1All Replies (3)
Valitud lahendus
re :I created an HTML file for signature including <body style="font-family: Arial; font-size:12px;">
I presume you did not use Thunderbird to create the HTML file.
To save you time, I suggest you use Thunderbird to create the signature html file.
Helpful link on signature: https://support.mozilla.org/en-US/kb/signatures#w_signatures-stored-in-files
Click on 'Write' to open new composing window. Clear all signatures etc.
Press Enter to create a clear line as this does seem to improve the position of signature. Create the signature using the Formatting Bar. If you are creating something a bit more complicated then use a table to control positioning.
File > Save as > File Save in a suitable location - I created a 'Signatures' folder on desktop where I keep any html file or image etc used in a signature. Give suitable name click on 'Save'
Then access 'Account Settings' for account Select : 'Attach the signature from a file instead..' Click on 'Choose' and locate the file you just created. click on 'Open' click on OK
Then you find the code you are creating will only effect the actual signature and not the entire email.
Thanks Toad-Hall.
By doing what you proposed, I found why it did not work properly in my code: - I used font-family in body style instead of using ' font face="Arial" ' in the paragraph - I did not used 'p' '/p' for the text
Now it looks fine!
Muudetud