【问题标题】:Safari on Windows - text does not appear normalWindows 上的 Safari - 文本显示不正常
【发布时间】:2014-01-25 08:15:10
【问题描述】:

页脚部分的标题和文本看起来不正常,它们被截断(并消失)并在被选中后变为正常。代码有点长。如果您熟悉 Windows 上的 safari,请查看:

图片:

链接:
主页:http://timekill.in/extenso_safari/
CSS:http://timekill.in/extenso_safari/css/theme.css

网站基于 bootstrap 3 构建

【问题讨论】:

    标签: jquery css twitter-bootstrap text safari


    【解决方案1】:

    更快的解决方案是使用 Google 字体(因为您使用的是 PT Sans,并且此集合 are available there)。

    你需要添加到你的 HTML 头部:

    <link href='http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
    

    并将theme.css 的第 157 行更改为:

        font-family: 'PT Sans', Arial, sans-serif;
    

    我已经使用您的相同代码进行了测试,它可以在 Windows 上的 Safari 5 上运行!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-07-30
      • 1970-01-01
      • 2020-07-09
      • 2022-11-12
      • 1970-01-01
      • 1970-01-01
      • 2021-12-11
      • 1970-01-01
      相关资源
      最近更新 更多