문제

The pound signs (£) &pound; 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.

도움이 되었습니까?

해결책

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.

enter image description here

Your site is loading Cufon here:

<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/droid_sans_400-droid_sans_700.font.js"></script>

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top