I'm using the excellent Twitter bootstrap library with Glyphicons, however all the icons are rendering as empty squares, like so:
I've uploaded the Glyphicons fonts to my web root and changed the bootstrap.css
file to point to their correct locations, which I've verified because they have 200 OK
requests in Chrome's dev tools:
This is the markup I'm using:
<a href="http://www.mysite.com/download" class="btn btn-primary"><span class="glyphicon glyphicon-star"></span> Download to Computer</a>
Any ideas why the font may be rendering as empty boxes? Previous answers on StackOverflow all point to incorrect paths to the fonts, which isn't the case here as the paths are correct.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…