IOS Gmail 应用程序图像上方的空白问题

发布于 2025-01-18 00:41:48 字数 984 浏览 3 评论 0原文

在深色模式下,iOS 上的 Gmail 应用程序的图像上方似乎有一条白线。

我已经尝试了许多与此相关的解决方案,但无法删除白线/空间。

img[class="visual"] {
  width: 100% !important;
  height: auto !important;
  text-align: center;
  margin: 0 auto;
}
<tr>
  <td bgcolor="transparent" valign="middle">
    <table cellpadding="0" cellspacing="0" border="0" class="content" align="center" width="640">


      <tr>
        <td bgcolor="transparent" align="center" valign="top" style="width: 640px;">
          <a href="TBC" target="_blank" alias="Banner"><img src="https://via.placeholder.com/150.jpg" width="640" height="250" style="display: block; border: none; max-height: 250px;" border="0" alt="Banner" class="visual" /></a>
        </td>
      </tr>
    </table>
  </td>
</tr>

There appears to be a white line above the image in Gmail app on IOS in dark mode.

I've tried many solutions regarding this but could not remove the white line/space.

img[class="visual"] {
  width: 100% !important;
  height: auto !important;
  text-align: center;
  margin: 0 auto;
}
<tr>
  <td bgcolor="transparent" valign="middle">
    <table cellpadding="0" cellspacing="0" border="0" class="content" align="center" width="640">


      <tr>
        <td bgcolor="transparent" align="center" valign="top" style="width: 640px;">
          <a href="TBC" target="_blank" alias="Banner"><img src="https://via.placeholder.com/150.jpg" width="640" height="250" style="display: block; border: none; max-height: 250px;" border="0" alt="Banner" class="visual" /></a>
        </td>
      </tr>
    </table>
  </td>
</tr>

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文