[HELP] Fonts and CSS/HTML

Status
Not open for further replies.

Thom

You can't touch this
Oct 1, 2010
1,305
386
I was wandering if theres any way of including fonts in CSS/HTML so people can see them even though they dont have the font installed on their computer.

Does this make sence?

Help please ;)
 

Dayron1234

Rapnameiszero,cuzIhavezero,toleranceforidiots
Jun 30, 2010
772
35
You mean by coding the image in the CSS code then it shows up in the HTML coding? If so then yes, it is very possible.
 

Bazinga

Posting Freak
Aug 3, 2010
819
54
He means using a non-standard font for a web design like Harbara which most people don't have installed on their PCs. Is their a way to show that font in CSS without a visitor having it downloaded on their PC first? I don't actually know but I was clarifying his question.
 

RyanMK

Still alive
May 27, 2010
802
117
Just copy the font file to your folder and use the code below.

Code:
<style type="text/css">
@font-face {
    font-family: "My Custom Font";
    src: url(http://www.example.org/mycustomfont.ttf) format("truetype");
}
p.customfont { 
    font-family: "My Custom Font", Verdana, Tahoma;
}
</style>
<p class="customfont">Hello world!</p>
 
Status
Not open for further replies.

Users who are viewing this thread

Top