Chen Log

陳洛格

Gmail 簽名檔正確顯示背景圖語法的方法

leave a comment »

1. 先做成一個 html檔,用 Chrome 開啟最適合。

2. 背景圖的部份 請使用  background=“ 指令

<tablebackground="https://www.google.com/intl/en_com/images/srpr/logo3w.png"width="275"height="95"><tr><td> Email Content... </td></tr></table>

如上的語法。

3. 記得要正確顯示圖片,圖片要放置於網路上,鏈接要正確。

4. 準備開啟編輯好的 html,用鍵盤全選 ctrl+A or cmd+A 再複製。

5. 開啟Gmail的簽名檔設定,貼上儲存,打完收工!

 

 

可參考:

Have you tried setting the background attribute of a table?
This is the recommended method detailed in the following Mailchimp blog post: Background Images and CSS in HTML Email.

http://stackoverflow.com/questions/8015515/background-image-css-inside-an-html-email-gmail-does-not-support

 

<table width=480 height=60 border=0 background=”http://vawidea.com/vawgood/themes/default/images/signature_mail/signature_bkgd.png&#8221; style=”background-color:#8cc3e4;background-repeat:no-repeat;”>

Advertisements

Written by chenagw

2013/11/06 at 15:48

Posted in Uncategorized

Tagged with , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: