2017-02-12 5 views
0

Gmail을 제외한 모든 메일에서 완벽하게 작동하는 클라이언트의 이메일 서명을 만들었습니다. Gmail에서 서명을 사용하려고하면 어떤 식 으로든 센터를 서명합니다. 이것은 브라우저 버전에만 있습니다. iPhone의 메일 앱에서 서명을 볼 때 멋지게 보입니다. 예를 들어 Outlook에서 Gmail에 서명을 보내면 모양이 너무 좋아집니다. 문제의 스크린 샷 : click.Gmail 센터 이메일 서명이 없으면

나는 왜 이런 일이 일어나는지 모르겠다. 그래서 나는 여기 누군가가 나에게 답을 줄 것을 희망한다. 내 코드 :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta charset="UTF-8"> 
<meta name="viewport" content="width=device-width, initial-scale=1.0"> 
<title>3-column layout</title> 

</head> 

<style type="text/css"> 
/* Client-specific Styles */ 

#outlook a { 
padding: 0; 
} /* Force Outlook to provide a "view in browser" menu link. */ 
body { 
width: 100% !important; 
-webkit-text-size-adjust: 100%; 
-ms-text-size-adjust: 100%; 
margin: 0; 
padding: 0; 
} 
/* Prevent Webkit and Windows Mobile platforms from changing default font sizes, while not breaking desktop design. */ 
.ExternalClass { 
width: 100%; 
} /* Force Hotmail to display emails at full width */ 
    .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font,    .ExternalClass td, .ExternalClass div { 
    line-height: 100%; 
    } /* Force Hotmail to display normal line spacing. More on that:  http://www.emailonacid.com/forum/viewthread/43/ */ 
#backgroundTable { 
margin: 0; 
padding: 0; 
width: 100% !important; 
line-height: 100% !important; 
} 
img { 
outline: none; 
text-decoration: none; 
border: none; 
-ms-interpolation-mode: bicubic; 
} 
a img { 
border: none; 
} 
.image_fix { 
display: block; 
} 
p { 
margin: 0px 0px !important; 
} 
table td { 
border-collapse: collapse; 
} 
table { 
border-collapse: collapse; 
mso-table-lspace: 0pt; 
mso-table-rspace: 0pt; 
} 

/*##############################################*/ 
/*IPHONE STYLES*/ 
/*##############################################*/ 
@media only screen and (max-width: 480px) { 
table { 
position: relative; 
} 

table[class="fluid-table"], td[class="fluid-cell"]{ 
width: 100% !important; 
padding: 0 20px 0 20px!important; 

} 

} 
</style> 

<body style="padding:0; margin:0"> 
<!-- 
/*##############################################*/ 

3 column 

/*##############################################*/ 
--> 


<table align="left" border="0" cellpadding="0" cellspacing="0" class="fluid-table"> 
<tbody> 

    <tr> 
    <td align="left" style="display:block; border:none; outline:none; text-decoration:none; color:#000; font-size:14px; text-align:left; font-family: Open Sans, Arial, Verdana, sans-serif;" border="0"> 
      <span style="text-align: left; color: #9C1C27;font-size: 14px; font-weight: bold">Voornaam en Achternaam</span><br> 
      <span style="text-align: left; margin-top: 0px; margin-bottom: 0px; color: #B5987F; font-weight: normal; font-style:italic; font-size: 12px;">Functie titel</span><br> 
    </td> 
    </tr> 

<tr> 
    <td valign="top" style="padding-left: 0px; padding-top: 7px; padding-bottom: 10px; padding-right: 0px; width:100%; height:100%;"> 
     <a href="http://www.deleeuwhides.com/"><img src="http://www.deleeuwhides.com/img/logo.png" nosend="1" border="0" style="width:179px; height:111px;" alt="De Leeuw Hides logo" title="De Leeuw Hides logo"></a> 
    </td> 
    </tr> 
    </tbody> 
</table> 

<div class="block"> 
    <table cellpadding="0" cellspacing="0" border="0" width="100%" align="left"> 
<tr> 
    <td><table cellpadding="0" cellspacing="0" border="0" width="600" align="left" class="fluid-table"> 
     <tr> 

     <!-- Start of first column --> 

     <td><table width="175" align="left" border="0" cellpadding="0" cellspacing="0" class="fluid-table"> 
      <tbody> 

       <tr> 
       <td width="175" align="left" style=" border:none; text-decoration:none; color:#B5987F; font-size:14px; text-align:left; font-family: Open Sans, Arial, Verdana, sans-serif;" border="0"> 
        <strong style="color:#9C1C27;">Location Nijmegen</strong><br> 
        Lindenhoutseweg 69<br> 
        6545 AH Nijmegen <br> 
        The Netherlands 
       </td> 
       </tr> 

      </tbody> 
      </table> 

      <!-- End of first column --> 

      <!--[if mso]></td><td valign="top"><![endif]--> 

      <!-- Start of second column --> 

      <table width="175" align="left" border="0" cellpadding="0" cellspacing="0" class="fluid-table"> 
      <tbody> 

       <tr> 
       <td width="175" align="left" style="border:none; text-decoration:none; color:#B5987F; font-size:14px; text-align:left; font-family: Open Sans, Arial, Verdana, sans-serif;" border="0"> 
        <strong style="color:#9C1C27;">Location Winterswijk</strong><br> 
        Industrieweg 2a<br> 
        7102 DZ Winterswijk<br> 
        The Netherlands 
       </td> 
       </tr> 
      </tbody> 
      </table> 

      <!-- End of second column --> 

      <!--[if mso]></td><td valign="top"><![endif]--> 

      <!-- Start of third column --> 

      <table width="175" align="left" border="0" cellpadding="0" cellspacing="0" class="fluid-table"> 
      <tbody> 
       <tr> 
       <td width="175" align="left" style="border:none; text-decoration:none; color:#B5987F; font-size:14px; text-align:left; font-family: Open Sans, Arial, Verdana, sans-serif;" border="0"> 
         <a href="tel:0031-024-3775233" style="color:#B5987F;"><font>T:</font> 0031-024-3775233</a> <br> 
         F: 0031-024-3779316 <br> 
         <a style="text-decoration:none; color:#9C1C27;" href="mailto:[email protected]">[email protected]</a><br> 
         <a style="text-decoration:none; color:#9C1C27;" href="http://www.deleeuwhides.com">www.deleeuwhides.com</a> 
        </td> 
       </tr> 
      </tbody> 
      </table> 

      <!-- End of third column --></td> 
     </tr> 
    </table> 

    <table cellpadding="0" cellspacing="0" border="0" width="100%" align="left" style="margin-top:5px; margin-bottom:3px;" class="fluid-table"> 
     <tr> 
      <td style="padding: 0 0 2px 0; height:1px; width:100%; background-color:#B5987F;"> 
      </td> 
     </tr> 
    </table> 

     <table cellpadding="0" cellspacing="0" border="0" width="100%" align="left" class="fluid-table"> 
       <tr> 
        <td valign="top"bgcolor="#9C1C27" style="height:30px; width:100%; background-color:#9C1C27;"><img style="display:block; margin:auto; padding:8px 0 0 0;" src="http://www.deleeuwhides.com/img/slogan-footer.png" alt="slogan"> 
        </td> 
       </tr> 
     </table> 



    </td> 
</tr> 
</table> 

</div> 
</body> 
</html> 

미리 감사드립니다.

답변

0

어떻게 든 새로운 .html 문서의 줄에 대한 코드 줄을 빌드하여이 문제를 해결했습니다. 센터링이 다시 발생할 때까지 Gmail에서 매번 테스트 해보았지만 결코 해보지 않았습니다. 그래서 지금해야하는 것처럼 일하고 있습니다!

0

유체 테이블의 클래스가있는 바깥 쪽 테이블에서 왼쪽으로 플로트를 시도 했습니까?

문제가 해결되지 않으면 아래 내용을 적어서 제대로 작동하는지 알려주세요.

I 두 열이 테이블을 작성한
<table width="100%" border="0" cellspacing="0" cellpadding="0"> 
    <tbody> 
    <tr> 
     <td style="width:100%; max-width:600px;">[signature content here]</td> 
     <td>&nbsp;</td> 
    </tr> 
    </tbody> 
</table> 

, 첫 번째 열은 600 픽셀의 최대 폭을 갖고 두 번째는 폭이 없다. 모든 내용을 첫 번째 열에 넣으십시오. 스타일을 인라인으로 배치했습니다. 원하는 경우 클래스로 이동할 수 있습니다.

건배