Font Awesome fonts show up as boxes on IE8

后端 未结 10 1726
[愿得一人]
[愿得一人] 2020-12-05 05:01

So I am using Font Awesome in a project and in testing I\'m running into issues with IE8.

On Windows IE9, Chrome and Firefox show the font properly (As does Firefox,

10条回答
  •  佛祖请我去吃肉
    2020-12-05 05:52

    It is not only IE, all the browsers have the same issue.

    The funny thing is you need to put your files in the right location.

    This means you need the below structure:

    folder levels look like this:
    
        level 1                 level 2  level 3
    
    ----index.html 
    
    ----font-awesome-4.2.0  ----css ---- fontawesome.css
    
                            ----css ---- fontawesome.min.css 
    
                            ----fonts----... 
    
                                     ----... 
    
                            ----...
    

    and then put the link sylte in your index.html as

    in between head

    a very important note is: DO NOT try to COMBINE fontawesome folder and any other folder. Keep them separate.

    now test it, and everything is good to go.

提交回复
热议问题