Outlook 2013截取图片顶部? [英] Outlook 2013 Cutting off top of image?
本文介绍了Outlook 2013截取图片顶部?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在设置一个电子邮件模板,并且删除了一些图像的顶部。这是我的图像代码
I am setting up an email template and the top of a few images were being cut off. This is my code for the images
<td style="line-height: 0"><img src="http://domain.com/image.png"></td>
我在td上有行高,因此下面的空白将被删除,因为我想要它要触摸下面的图像。
I have the line height on the td so that the white space underneath will be removed because I want it to be touching the image below.
顶部图像有些顶部被剪掉了,我该如何解决?
Top image has a bit of the top being cut off though, how can I fix this?
推荐答案
我解决此问题的方法是不使用line-height,而是将图像设置为显示块,这解决了图像问题,并且仍然删除了下面的空白
The way I fixed this was to not use line-height and instead set the image to display block and this fixed the image issues and still removed the white space underneath
<td><img src="http://domain.com/image.png" style="display:block;"></td>
希望这对某人有帮助!
这篇关于Outlook 2013截取图片顶部?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文