【问题标题】:HTML Rendering - chrome renders clear: both different on tablets and on desktopHTML 渲染 - chrome 渲染清晰:在平板电脑和台式机上都不同
【发布时间】:2015-10-12 07:35:53
【问题描述】:
<br style="clear: both">

在平板电脑(Chrome、Android 平板电脑)上放置大约 1em 的空白空间(看起来像段落开头),并且在桌面设备(在生产网站中)上看不到这种行为。

这可能是什么根本原因?

【问题讨论】:

    标签: html google-chrome tablet html-rendering


    【解决方案1】:

    事实证明,如果您希望平板电脑版本看起来像桌面版本,这将解决问题:

    <meta name="viewport" content="width=device-width, initial-scale=1" >
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2010-12-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-06-02
      相关资源
      最近更新 更多