我面臨以下問題:當我發送自動電子郵件時,字體大小從 10 變為 11。請參閱下面我使用的代碼:
With OutlookMailitem
.To = toEmail
.CC = ccEmail & ";" & ccEmail2 & ";" & ccEmail3
.Subject = "Submit your Timesheet"
.HTMLbody = "<p style='font-family:arial;font-size:13'>" & "Hey " & toName & "," & "<br/>" & "<br/>" & "We noticed your timesheet is still open. Please submit your timesheet each Monday before 12PM. If you face any issues, do let us know." & "<br/>" & "<br/>" & "Best," & signature
.Send
End With
知道是什么原因造成的嗎?提前謝謝了。
uj5u.com熱心網友回復:
你可以嘗試使用 px.
<p style='font-family:arial;font-size:13px'>
uj5u.com熱心網友回復:
您錯過了"px"在字體大小之前添加或您想要的單位,如果這不起作用......也許另一個功能正在覆寫您的樣式,然后嘗試在font-size: 13px像這樣之后添加 !important :
<p style='font-family:arial;font-size:13px!important;'>
!important 應優先于應用的任何其他樣式。
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/364758.html
標籤:html 电子邮件 html-email
