H3 上的英镑符号消失
The pound signs (£) £
work perfectly within <p>
tags, but are not showing up at all in the H3s on the site I'm building.
Edit: It looks like the issue is with the font cufon. But, I can't find this font (or H3) in the css.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当您将字体文件上传到 Cufon 时,您需要勾选标点符号框以及字母和数字。否则,它不会呈现启用 Cufon 的标签之间的任何标点符号。
您的网站正在此处加载 Cufon:
您需要做的是生成一个新的 Cufon 文件 (< a href="http://cufon.shoqolate.com/generate/" rel="nofollow noreferrer">http://cufon.shoqolate.com/generate/) 并在框中勾选图像并将文件 js/droid_sans_400-droid_sans_700.font.js 替换为包含标点符号的新文件。
就我个人而言,我会尽可能使用类似的 Google 字体。 Cufon 在 IE 上有一些问题。
When you upload the font file to Cufon you want to tick the Punctuation box as well as letters and numerals. Otherwise it won't render any punctuation you have between Cufon enabled tags.
Your site is loading Cufon here:
What you'll need to do is generate a new Cufon file (http://cufon.shoqolate.com/generate/) with the box ticked in the image and replace the file js/droid_sans_400-droid_sans_700.font.js with the new one that includes the punctuation.
Personally I would use as similar a Google Font as possible. Cufon has some issues with IE.