0

I have to work on a symphony project written by others. I've investigated why some icons, like facebook icon or shopping cart icon won't display on IExplorer, when I found something I dont understand: The html and css below outputs a facebook icon and I don't know how?

HTML:

<i class="facebook-icon"></i>`

CSS:

.facebook-icon::before{
  content:"\e905";
}

What does this mean, how does this work?

4
  • Maybe its just doesn't really support IE. did you try it in other browsers? Commented Dec 6, 2016 at 17:09
  • Questions seeking code help must include the shortest code necessary to reproduce it in the question itself preferably in a Stack Snippet. See How to create a Minimal, Complete, and Verifiable example Commented Dec 6, 2016 at 17:10
  • Its because of the font file that is attached to it.. the content by itself is useless. Commented Dec 6, 2016 at 17:10
  • That is probably a unicode character. Look at this post: stackoverflow.com/questions/3027448/…. You might have to specify a unicode font for IE like font-family: Lucida Sans Unicode, Arial Unicode MS, Arial; Commented Dec 6, 2016 at 17:16

1 Answer 1

2

They are using a custom font in which the character \e905 is just a facebook icon

Sign up to request clarification or add additional context in comments.

2 Comments

please dont use maybe while answering . Answer it after being sure, or comment
I'm just trying to help here. There's no need to downvote me just because I used the word maybe

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.