【问题标题】:HTML input (type="search") text being truncated from below in IE10 only仅在 IE10 中从下方截断 HTML 输入(type="search")文本
【发布时间】:2015-07-06 11:14:24
【问题描述】:

这仅在 IE10 中发生。我有一个 HTML 输入标签 <input type="search" placeholder="Demo text"> 在 IE10 中,它会从下面截断文本。我使用 line-height 作为 1.45em,这已经足够好,但仍然遇到问题。

请参见下图中的“q”和“g”。

图片链接在下方,因为我在 Stackoverflow 上没有足够的积分,所以无法发布图片。

【问题讨论】:

  • 你有没有试过看看stackoverflow.com/a/12881956/1662973
  • 是的,我尝试了所有解决方案,但不幸的是没有一个对我有用。
  • 在标题中强制文档模式怎么样?

标签: css html internet-explorer internet-explorer-10


【解决方案1】:

通过设置 min-height 解决了我的问题。感谢您的帮助。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-05-05
    • 1970-01-01
    • 2020-09-03
    • 1970-01-01
    • 2017-10-26
    相关资源
    最近更新 更多