搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Font in HTML signature

  • 3 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 Francis

more options

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

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

被選擇的解決方法

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

從原來的回覆中察看解決方案 👍 1

所有回覆 (3)

more options

選擇的解決方法

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

more options

Then you find the code you are creating will only effect the actual signature and not the entire email.

more options

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!

由 Francis 於 修改