HTML 图像映射错误地映射某些用户,但未错误地映射其他用户



好的,我有一封我创建的电子邮件,其中图像使用地图重定向到不同的链接。电子邮件从我的电子邮件和另一个人的电子邮件中工作正常,但另一个人的底部图像的链接无法正确映射。

<img src="https://example.com/images/NPHomeButtons.jpg" usemap= #HomeButtons border=0 width=600>
<map name=HomeButtons>
<area shape=Rect Coords=0,0,120,48 Href="http://www.example.com/">
<area shape=Rect Coords=120,0,240,48 Href="http://www.example.com/inventory/New/">
<area shape=Rect Coords=240,0,360,48 Href="http://www.example.com/inventory/Used/">
<area shape=Rect Coords=360,0,480,48 Href="http://www.example.com/get-approved/">
<area shape=Rect Coords=480,0,600,48 Href="http://www.example.com/contact-us/">
</map>

但是在此图像上,其他用户遇到了问题

<img src="https://example.com/images/NPAdGraphic.jpg" usemap= #AdGraphic border=0>
<map name="AdGraphic" id="AdGraphic">
<area  alt="" title="" href="http://www.example.com/giveaway/" shape="rect" coords="0,5,600,182" style="outline:none;" target="_self"     />
<area  alt="" title="" href="http://www.example.com/giveaway/" shape="rect" coords="9,1205,224,1278" style="outline:none;" target="_self"     />
<area  alt="" title="" href="http://www.example.com/inventory/New/Mazda/" shape="rect" coords="231,1206,451,1277" style="outline:none;" target="_self"     />
</map>

在其他用户的站点上,最后两个区域映射的图像高于应有的位置

我们都尝试在浏览器和 Outlook 中打开图像,但我无法复制他的问题,也无法找到解决方案。

有什么想法吗?

不确定,但主要区别在于第一张图像有宽度,第二张图像没有,您是否尝试过为第二张图像添加宽度?

最新更新