![](/img/trans.png)
[英]How to remove underline from hyperlink in outlook as well as gmail
[英]Remove underline gmail hyperlink from outlook
當我將網頁內容復制到Outlook並發送到gmail時,是否可以刪除gmail中的藍色超鏈接下划線?
當我將文本粘貼到Outlook新郵件窗口時,有任何帶下划線的鏈接,但是當我打開gmail發送的信件時,我看到了難看的藍色下划線。 比行僅在桌面gmail中顯示,在移動gmail應用中沒有下划線。
我嘗試了所有可以在Google中找到的內容。
這是我的代碼:
<style>
a {
color: inherit;
text-decoration: none;
font-size: inherit;
font-family: inherit;
font-weight: inherit;
line-height: inherit;
}
</style>
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td align="center" height="69" style="height:69px;" valign="middle" width="600"><a href="mylink" target="_blank" style="color:#040400;text-decoration: none;"><h2 style="text-align: center;font-family: Arial, sans-serif;">Title</h2></a></td>
</tr>
</tbody>
</table>
在h2
text-decoration: none;
上添加此樣式text-decoration: none;
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td align="center" height="69" style="height:69px;" valign="middle" width="600"><a href="mylink" target="_blank" style="color:#040400;text-decoration: none;"><h2 style="text-align: center;font-family: Arial, sans-serif; text-decoration: none;">Title</h2></a></td>
</tr>
</tbody>
</table>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.