-1
I need to use the source Imagine, but I have no idea how to import it to my page. I did so, but it did not work:
<style>
font {font-family: "Imagine Font"; src: url("lib/font/imagine_font.ttf") format("truetype");}
</style>
-1
I need to use the source Imagine, but I have no idea how to import it to my page. I did so, but it did not work:
<style>
font {font-family: "Imagine Font"; src: url("lib/font/imagine_font.ttf") format("truetype");}
</style>
0
From what I understand you are wanting to assign a font carrying it along with the link try to put it right in the reset of the page ex:
*{ margin:0; padding:0; font-family: "Imagine Font" Arial;}
try so it will not be 100% because whoever is accessing your page does not have the source on your computer the same will be exchanged for another in some case the text is broken, so always add another that has on all the computer.
Browser other questions tagged css
You are not signed in. Login or sign up in order to post.
Doubt: Why do this in PHP and not directly in CSS? I believe the question How to use fonts on my Site? solves your problem.
– Woss
Good question... I did directly in CSS now... rs
– user91701
@Andersoncarloswoss, I did exactly what it shows on the link you sent, but it didn’t work.
– user91701
Put that attempt to the question, please.
– Woss
It’s already in the question... it’s the same thing.
– user91701
It is not, no. In the question I quoted it is used
@font-face
. You just usedfont
.– Woss
Possible duplicate of How to use fonts on my Site?
– Oeslei
@Andersoncarloswoss, font is the name of my tag. It’s like H1. I made the change you suggested, but it didn’t work either.
– user91701
http://www.maujor.com/tutorial/[email protected]
– user60252