dear_abhi2007 Posted September 8, 2006 Share Posted September 8, 2006 Hi thri want to use fonts in HTML site tht is not default in htmlif i instal tht font in my pc it works n runs only on my pc, n whn i upload it it doesnt works.So plz help me to knw how to use new fonts in HTML Link to comment Share on other sites More sharing options...
Cronthenoob Posted September 8, 2006 Share Posted September 8, 2006 The person viewing your page must have the font you specified in the HTML installed on their own computer for it to show. Link to comment Share on other sites More sharing options...
holmedwa04 Posted September 8, 2006 Share Posted September 8, 2006 Like Cronthenoob says, you cant unless the viewer has that font, and so if you want to say perhaps make some buttons then you can use an image, or...Set a font-family, to have your font in prefference to say arial, then say to your viewers they can download the proper font then a link. Link to comment Share on other sites More sharing options...
reportingsjr Posted September 8, 2006 Share Posted September 8, 2006 You can do that, also so if it isnt on their computer and you dont want the default times new roman (not many people do!) you can use CSS and do font-family: first font, backup font, next backup font, etc... that way they will most likely see a nicer font. Link to comment Share on other sites More sharing options...
holmedwa04 Posted September 8, 2006 Share Posted September 8, 2006 You can do that, also so if it isnt on their computer and you dont want the default times new roman (not many people do!) you can use CSS and do font-family: first font, backup font, next backup font, etc... that way they will most likely see a nicer font.Thats what I just said, they could use a font-family! Link to comment Share on other sites More sharing options...
dear_abhi2007 Posted September 9, 2006 Author Share Posted September 9, 2006 You can do that, also so if it isnt on their computer and you dont want the default times new roman (not many people do!) you can use CSS and do font-family: first font, backup font, next backup font, etc... that way they will most likely see a nicer font.Whts if i upload the req font in the server. i heard of EOT n thn v can do it??or how to put it in CSS bcoz it ll also cal for the font frm tht PC Link to comment Share on other sites More sharing options...
justsomeguy Posted September 12, 2006 Share Posted September 12, 2006 or how to put it in CSS bcoz it ll also cal for the font frm tht PCc'mon, it's a 4-letter word, you can add the extra letter.You can reference this page if you want to know how to embed a font in CSS. You will have to convert it to a different format and upload it to the server as well:http://www.netmechanic.com/news/vol3/css_no15.htmBut consider this:Embedded fonts may seem like the answer to a Web designer's dreams, but some visitors might not agree. There are two significant issues you need to consider before including embedded fonts:Download Time: You could lose visitors because now they have to wait for the font to download before the page displays. For example, some sample .eot files we downloaded had an average size of 20-25k. That can significantly affect your page download time.Minimize this problem by only embedding unusual or obscure fonts, not common fonts that users probably already have installed.Security Warnings: Depending on their individual browser settings, visitors may receive a security warning every time a page accesses an embedded font. Besides being disruptive, the warnings may scare visitors away from your site.If you only want to use your own fonts in places like headlines and such (not the entire page), you can use sIFR instead. Do a Google search for sIFR for more information. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now