#Unable to put special font on w3space
7 messages · Page 1 of 1 (latest)
First of all, you cannot do
style="font-family:"w95fa"; !important"
Because the style will only be read as style="font-family:"
Because you cannot use quotes inside.
Also, inline styling is the most specific selector. So it makes no sense to add !important
Learn about Specificity Levels.
Inline styling has 1 0 0 0 specificity. and thats exactly why you should not do inline styling or targeting ids in CSS
Keep the specificity level low 0 0 1 0
But yeah the correct way to write it would be style="font-family:w95fa !important;"
But once again, i would advice you not do do this
Thanks but i changed the style="font-family:"w95fa"; !important" to style="font-family:w95fa !important;" but it still doesn't work. Even if I remove !impotant. Do you think it may have something to do with the w3space?
You have defined it to use this name
So thats the name you should be using