Log in

View Full Version : Use a Custom Font HELP



alaia
01-03-2012, 10:50 AM
Hi!!!
Happy New year!!!

I have this site http://www.theplatform.gr and i want to buy this font, which is FUTURA and make it with this font. Can somebody help me how to use a custom font to my website? Will it be ok in all browsers??

henda
01-03-2012, 04:49 PM
Using CSS and the @fontface attribute is what you are looking for I believe.


@font-face
{
font-family: myFirstFont;
src: url('your_font_file.ttf'),
url('your_font_file.eot'); /* IE */
}


The @font-face rule is supported in all major browsers.

Internet Explorer only supports .eot type fonts.

Hope this helps.

henda
01-03-2012, 04:52 PM
Another note in which may help you is using font face generator's available online. These are useful when your font's are not in both .ttf and .eot formats
Try taking a look at Font Squirrel (http://www.fontsquirrel.com/fontface/generator) if so. I know it's been useful to myself in the past.

alaia
01-04-2012, 01:45 PM
thaaank you very much!
i'll try it and i hope to be super!!!