In order for my website to look good I need to use a custom font, specifically, Thonburi-Bold. The problem is - the font does not get displayed unless the user has installed it. It also isn't displayed in firefox.
Is there a workaround to this problem?
You can highlight the text on the web page that you want to determine the font. Copy that text (right-click with your mouse and select Copy, or press Ctrl + C on your keyboard).
To change font size in HTML, use the CSS font-size property. Set it to the value you want and place it inside a style attribute. Then add this style attribute to an HTML element, like a paragraph, heading, button, or span tag.
You have to import the font in your stylesheet like this:
@font-face{ font-family: "Thonburi-Bold"; src: url('Thonburi-Bold.ttf'), url('Thonburi-Bold.eot'); /* IE */ }
You can use CSS3 font-face
or webfonts
@font-face usage
@font-face { font-family: Delicious; src: url('Delicious-Roman.otf'); }
webfonts
take a look at Google Webfonts, http://www.google.com/webfonts
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With