问题
I'm currently using Fotawesome at a project. The problem is, that when I load the webpage, I only see blocks instead of icons. The fonts 'can't be found on the server', but I'm sure they are at the right location (I can browse to the files myself). When I load the webpage with localhost, everything works fine. Fontawesome is NOT installed on my computer. Could it be that is has something to do with mimetypes? How do I fix this? (I'm using an apache server)
回答1:
Keep in mind the path to Font Awesome is relative to where the CSS is stored (if you're using relative paths).
Also, if it's an option, Bootstrap CDN makes it really easy to use Font Awesome: http://www.bootstrapcdn.com/?v=01042013155511#tab_fontawesome
来源:https://stackoverflow.com/questions/14527734/fontawesome-not-loading