我绝对不是CSS或HTML专家,但我认为我的代码是正确的。当我在Internet Explorer中运行它时,它工作正常,并且显示了标题之间的一些空白区域,因为它应该是。但是当我将它发送到MS Outlook 2010时,标题正在混合。我似乎无法找到一种方法,在一个干净的方式来解决这个问题...MS Outlook 2010标题混合
的MS Outlook 2010(不正常):
的Internet Explorer(OK):
HTML/CSS-代码:
<!DOCTYPE html>
<html><head><style type="text/css">
body {
font-family:verdana;
background-color:white;
}
h1 {
background-color:black;
color:white;
margin-bottom:0px;
text-indent:10px;
}
h2 {
background-color:lightGrey;
margin-bottom:10px;
text-indent:10px;
}
p {
font-size: 14px;
margin-left:10px;
}
</style></head><body>
<h1>My Big Title</h1>
<h2>My Smaller title:</h2>
<p>Hello world :)</p>
</body></html>
谢谢你在解决这个小问题上的帮助。
更改h1
到不能解决问题之一:
不幸的是,它并没有解决它在Outlook 2010中我已经更新了截图的OP。 – DarkLite1 2015-04-03 11:19:10