CSS签名 - 字体重量不会改变为所需

时间:2016-12-14 10:32:20

标签: html css fonts

我正在尝试使用以下代码创建电子邮件签名:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<head>
 <meta content="text/html; charset=UTF-8" http-equiv="content-type"> 
 <title>padthai wokbar</title>
</head>
<body>
   <div style="display:inline-block;vertical-align:top;">
    <img src="http://i.imgur.com/aKtZEo7.png" width="105px" alt="padthai wokbar">
</div>
<div style="display:inline-block;font-family: Helvetica Neue;font-size: 14px; text-decoration: none;color:#424040">
    <div style="
                  color: #424040; 
                  font-size: 16px;
                  font-weight: 900;
                  ;">test</div>


    <div style="font-weight: 500;">Managing Director</div>


    <div><a style="font-weight: 300;">Email:</a><a style='font-family: Helvetica Neue; text-decoration: none; color:#424040; font-weight:300 !important;'  a href='mailto:test'> test@padthaiwokbar.com</a></div>
    <div><a style="font-weight: 300;">Tel:</a><a style='font-family: Helvetica Neue; text-decoration: none; color:#424040; font-weight:300 !important;'  a href='tel:test'>+test</a></div>
    <div> <a style='font-family: Helvetica Neue; text-decoration: none;color:#424040; font-weight:300;' a href='http://www.padthaiwokbar.com' target='blank';>test</a></div>
    <div> <a style='font-family: Helvetica Neue; text-decoration: none;color:#424040; font-weight:300;' a href='https://www.google.hu/maps/place/Budapest,+Csemete+u.+10,+1036/@47.5286934,19.0358274,17z/data=!3m1!4b1!4m5!3m4!1s0x4741d956f0a595ab:0xb000c2f0e41e315b!8m2!3d47.5286934!4d19.0380161' target='blank';>test</a></div>
</div>

This is how I would like it to look

This is how it looks in GMAIL.

它似乎并不关心我设置为font-weight的东西,任何想法我可能做错了什么?对不起,如果css有点难以阅读,我只是在尝试可能导致问题的原因

提前致谢!

0 个答案:

没有答案