显示'⤭'在iOS Safari中通过CSS内容属性

时间:2015-09-18 06:47:26

标签: ios css

html看起来像这样:

<html>

<head>
    <style type="text/css">

    h1:before
    {
      content: '\292d';
    }

    </style>
</head>

<body>
    <h1>Sample Text</h1>
</body>

</html>

所以,我已经将'⤭'字符转换为ASCII,这在我的桌面浏览器中显示得很好;但是,在iPhone上,它是空白的!

1 个答案:

答案 0 :(得分:0)

问题可能在于Private Function getTransferSheet() As Worksheet Dim ws As Worksheet For Each ws In ThisWorkbook.Sheets If ws.Range("Z1") <> "Special_Sheet" Then GoTo ContLoop If InStr(1, ws.Range("Description"), "turn", vbTextCompare) Or InStr(1, ws.Range("Description"), "TRN", vbTextCompare) Then Set getTransferSheet = ws Exit Function End If ContLoop: Next MsgBox "Turn sheet (Last sheet) not found", vbExclamation End End Function ,即使他们说safari 1.0支持content: '\292d';,但仍然无法正常工作。 我用它来显示图像,它用于显示在检查元素中,但不显示在浏览器窗口中,实体content是支持的

而是尝试将其直接放在标记内,或者如果要动态插入则使用javascipt