I saw a post from a few years ago on how to load fonts into my server and imbed them so that other viewers can see them. There was a code given that was @font-face {
font-family: yourfont;
src: url('yourfont.ttf');
} Do I put this code into the CSS portion of my document? I don't know where to put it.
Samuccaya
0
Newbie Poster
Recommended Answers
Jump to PostYes, that is CSS that you would put in your stylesheet preferably. It can go into the head of your document, but it's not really suggested.
All 4 Replies
pixelsoul
272
Red Pill
Featured Poster
Samuccaya
0
Newbie Poster
zubaer_ahammed
0
Newbie Poster
mattster
195
Practically a Master Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.