html: © 不显示
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2731214/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
html: © doesn't show
提问by Simon
when i wrote ©
in my page it doesn't show the copyright symbol,
当我©
在我的页面上写的时候,它没有显示版权符号,
and show the point instead, just .it shows. maybe you know why? thanks
并显示这一点,只是。表明。也许你知道为什么?谢谢
回答by ghoppe
Put the copyright symbol in a <span>
tag and in your css use a font that works.
将版权符号放在<span>
标签中,并在您的 css 中使用有效的字体。
<span class="copyright">©</span>2007 Syom Industries
CSS:
CSS:
.copyright {
font-family: Arial,
"Helvetica Neue",
Helvetica,
sans-serif;
}
回答by Quentin
Most likely — because the font you are using has a broken copyright character in it.
很可能 - 因为您使用的字体中有损坏的版权字符。
Without a test case it is hard to make a guess beyond that.
如果没有测试用例,就很难做出超出此范围的猜测。
回答by ahmeij
Adding a
before the ©
works for me as well, even with the Helvetica Neue
font.
即使使用字体,也可以在对我
的©
作品之前添加一个Helvetica Neue
。