我一直试图让我的工作签名在我的Android上看起来与Outlook中的相同。
我几乎成功了,这两者之间唯一的区别就是每个句子之间都有一条空行 - 应该没有空格。
我一直试图修补这个问题很长一段时间,但我对编码很不熟悉,无法弄清问题是什么。
我正在寻找的是为了编辑这段代码,使每个句子之间没有间隙,甚至只是指出我需要从代码中删除的内容,然后我可以继续修补。
我非常感谢能得到的所有帮助。
这是代码:
<html>
<body lang="EN-CA" link="#0563C1" vlink="#954F72" style='tab-interval: 36.0pt'>
<div class="WordSection1">
<p class="MsoNormal">
<o:p> </o:p>
</p>
<p class="MsoNormal">
<o:p> </o:p>
</p>
<p class="MsoNormal">
<a name="_MailAutoSig"><b><i><span style='font-size: 14.0pt; mso-ascii-font-family: Calibri;
mso-fareast-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman";
color: #002060; mso-fareast-language: EN-CA; mso-no-proof: yes'>Hassan Mahmood</span></i></b></a><span
style='mso-bookmark: _MailAutoSig'><span lang="EN-US" style='mso-ascii-font-family: Calibri;
mso-fareast-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman";
mso-ansi-language: EN-US; mso-fareast-language: EN-CA; mso-no-proof: yes'><o:p></o:p></span></span></p>
<p class="MsoNormal">
<span style='mso-bookmark: _MailAutoSig'><span lang="EN-US" style='font-size: 10.0pt;
mso-ascii-font-family: Calibri; mso-fareast-font-family: Calibri; mso-hansi-font-family: Calibri;
mso-bidi-font-family: "Times New Roman"; color: #002060; mso-ansi-language: EN-US;
mso-fareast-language: EN-CA; mso-no-proof: yes'>Direct Tel.: 416-214-2277<o:p></o:p></span></span></p>
<p class="MsoNormal">
<span style='mso-bookmark: _MailAutoSig'><span lang="EN-US" style='font-size: 10.0pt;
mso-ascii-font-family: Calibri; mso-fareast-font-family: Calibri; mso-hansi-font-family: Calibri;
mso-bidi-font-family: "Times New Roman"; color: #002060; mso-ansi-language: EN-US;
mso-fareast-language: EN-CA; mso-no-proof: yes'>Fax: 647-497-5724<o:p></o:p></span></span></p>
<p class="MsoNormal">
<span style='mso-bookmark: _MailAutoSig'></span><a href="mailto:hmahmood@chippingham.com">
<span style='mso-bookmark: _MailAutoSig'><span style='font-size: 10.0pt; mso-ascii-font-family: Calibri;
mso-fareast-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman";
mso-fareast-language: EN-CA; mso-no-proof: yes'>hmahmood@chippingham.com</span></span><span
style='mso-bookmark: _MailAutoSig'></span></a><span style='mso-bookmark: _MailAutoSig'><span
lang="EN-US" style='font-size: 10.0pt; mso-ascii-font-family: Calibri; mso-fareast-font-family: Calibri;
mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; color: #002060;
mso-ansi-language: EN-US; mso-fareast-language: EN-CA; mso-no-proof: yes'><o:p></o:p></span></span></p>
<p class="MsoNormal">
<span style='mso-bookmark: _MailAutoSig'></span><a href="http://www.chippingham.com/">
<span style='mso-bookmark: _MailAutoSig'><span lang="FR-CA" style='font-size: 10.0pt;
mso-ascii-font-family: Calibri; mso-fareast-font-family: Calibri; mso-hansi-font-family: Calibri;
mso-bidi-font-family: "Times New Roman"; color: blue; mso-ansi-language: FR-CA;
mso-fareast-language: EN-CA; mso-no-proof: yes'>www.chippingham.com</span></span><span
style='mso-bookmark: _MailAutoSig'></span></a><span style='mso-bookmark: _MailAutoSig'><span
lang="FR-CA" style='font-size: 10.0pt; mso-ascii-font-family: Calibri; mso-fareast-font-family: Calibri;
mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; color: #1F497D;
mso-ansi-language: FR-CA; mso-fareast-language: EN-CA; mso-no-proof: yes'><br>
</span></span><span style='mso-bookmark: _MailAutoSig'><span lang="EN-US" style='font-size: 7.5pt;
font-family: "Arial","sans-serif"; mso-fareast-font-family: Calibri; color: #1F497D;
mso-ansi-language: EN-US; mso-fareast-language: EN-CA; mso-no-proof: yes'>
<br>
</span></span><span style='mso-bookmark: _MailAutoSig'><b style='mso-bidi-font-weight: normal'>
<span style='font-size: 14.0pt; font-family: "Cambria","serif"; mso-fareast-font-family: Calibri;
mso-bidi-font-family: "Times New Roman"; color: black; mso-fareast-language: EN-CA;
mso-no-proof: yes'>
<img border="0" width="350" height="74" id="Picture_x0020_1" src="http://www.chippingham.com/image001.jpg"
alt="CFG_Crest 74x350"></span></b></span><span style='mso-bookmark: _MailAutoSig'><span
lang="EN-US" style='mso-ascii-font-family: Calibri; mso-fareast-font-family: Calibri;
mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-ansi-language: EN-US;
mso-fareast-language: EN-CA; mso-no-proof: yes'><o:p></o:p></span></span></p>
<p class="MsoNormal">
<span style='mso-bookmark: _MailAutoSig'><span lang="EN-US" style='font-size: 10.0pt;
mso-ascii-font-family: Calibri; mso-fareast-font-family: Calibri; mso-hansi-font-family: Calibri;
mso-bidi-font-family: "Times New Roman"; color: #002060; mso-ansi-language: EN-US;
mso-fareast-language: EN-CA; mso-no-proof: yes'>Suite 2105 – 77 King Street
West, Toronto-Dominion Centre PO Box 357, Toronto, ON M5K 1K7</span></span><span
style='mso-bookmark: _MailAutoSig'><span lang="EN-US" style='mso-ascii-font-family: Calibri;
mso-fareast-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman";
mso-ansi-language: EN-US; mso-fareast-language: EN-CA; mso-no-proof: yes'><o:p></o:p></span></span></p>
<p class="MsoNormal">
<span style='mso-bookmark: _MailAutoSig'><span lang="EN-US" style='mso-ascii-font-family: Calibri;
mso-fareast-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman";
mso-ansi-language: EN-US; mso-fareast-language: EN-CA; mso-no-proof: yes'>
<o:p> </o:p>
</span></span>
</p>
<span style='mso-bookmark: _MailAutoSig'></span>
<p class="MsoNormal">
<o:p> </o:p>
</p>
</div>
</body>
</html>
非常感谢您的协助;非常感谢。
答案 0 :(得分:0)
您发布的HTML似乎是从MSOffice(通过Outlook,我猜)生成的,这意味着没有人会愿意阅读它。
我的建议是将其丢弃,并使用简单的HTML从头开始编写。
<div>
<div style="font-weight:bold;font-style: italic;">Hassan Mahmood</div>
<div>Direct Tel.: 416-214-2277</div>
<div>Fax: 647-497-5724</div>
<div>
<a href="mailto:hmahmood@chippingham.com">hmahmood@chippingham.com</a>
</div>
<div><a href="http://www.chippingham.com">www.chippingham.com</a></div>
<div>Suite 2105 – 77 King Street West,
Toronto-Dominion Centre PO Box 357, Toronto, ON M5K 1K7
</div>
</div>
从那里,您可以添加style=
属性,以您喜欢的方式进行调整。