任何人都可以帮我解决我的问题吗?我尝试使用几个表段来构建新闻邮件,因为mailchimp在代码方面存在问题,如果他不在表中,则会中断我的邮件内容。对我来说主要问题是图像超过图像。请看看我的代码。通过图像通讯图像
图案是底部图像,并有100%的大小(700x50px)和标志是顶部图像(32x32px)。徽标必须位于右侧,图案图像上的margin-top -20px和margin-right 30px,但不使用“position”属性(mailchimp中断所有位置属性)。
现在,我的标志是在模式下。我试图用z-index来解决这个问题,但是这里没有任何反应。
<table class="header_class">
<td>
<img class="pattern_header"src="pattern.jpg" alt="pattern" />
<img class="logo_small"src="logo.jpg" alt="logo" align="right"/>
<h1>July 2017</h1>
</td>
</table>
我的CSS:
pattern_header{
max-width: 700px;
}
logo_small{
margin-right: 30px;
margin-top: -20px;
}
(我完全初学者,也许我的代码是不正常)
头应该是什么样子:
该解决方案是否适合您? – Syfer