【问题标题】:Why displaying of web pages are different in google chrome and firefox?为什么 google chrome 和 firefox 的网页显示不一样?
【发布时间】:2015-10-21 08:29:05
【问题描述】:

在一种形式中,输入类型是日期,在 Google Chrome 日历中正常显示,在 Firefox 中不显示。此外,单选按钮在 Chrome 而不是 Firefox 中正常工作。 如何解决这些问题?

【问题讨论】:

    标签: google-chrome firefox


    【解决方案1】:

    首先,我认为您应该重新考虑您的 Id,因为它们看起来格式不正确,并且对于通过 css 进行定位不是很有用。

    其次,我认为你的 HTML 应该看起来更像这样

    <label for="Permlt5Years" class="radio-label">
         Perm. < 5 years
         <input id="Permlt5Years" name="checkbox" type="radio">
    </label>
    

    单击标签应为您选择一个单选按钮。在此处通过直接输入 link 针对 html5 doctype 进行验证时,出现 11 个错误。

    【讨论】:

      猜你喜欢
      • 2017-10-17
      • 2011-02-14
      • 1970-01-01
      • 2023-02-12
      • 1970-01-01
      • 1970-01-01
      • 2019-02-16
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多