watthehell Posted September 12, 2007 Share Posted September 12, 2007 hi all Can we use other fonts apart from the fonts that comes in windows for our webpage ... Can we use it online. IF yes, then where we have to keep the font in the server. ? Can we specify a font folder and keep the fonts there ? Thnks... Quote Link to comment https://forums.phpfreaks.com/topic/68962-solved-css-using-fonts/ Share on other sites More sharing options...
AndyB Posted September 12, 2007 Share Posted September 12, 2007 the only fonts that display with a browser are the fonts that exist on the visitor's computer. Quote Link to comment https://forums.phpfreaks.com/topic/68962-solved-css-using-fonts/#findComment-346624 Share on other sites More sharing options...
watthehell Posted September 12, 2007 Author Share Posted September 12, 2007 OOPS... is that so.. I had seen a CSS using other font .mymember{ font-family: "28 Days Later"; font-size:18px; color:#0081E5; } it works in mine, i dont have the font "28 days later" in my pc... totally ... confused... ??? ??? ??? Quote Link to comment https://forums.phpfreaks.com/topic/68962-solved-css-using-fonts/#findComment-346642 Share on other sites More sharing options...
ToonMariner Posted September 12, 2007 Share Posted September 12, 2007 not quite true.... NOW this doesn't work in FF BUT the method has been approved/recommended by the web standards people.. You will need to download the WEFT tool. use this to create an eot file which you can then upload to your server.... to embed this font in a page use the following css... @font-face { font-family: MyNewFont; src:url(relative/path/to/file.eot) } then simply give which ever elements you require x { font-family: MyNewFont, Arial, sans-serif; } NOW when a visitor comes to your site (and their browser allows this to happen) the page will load with Arial or sans-serif initially. A soon as the machine has downloaded the eot file the page will change to your font. http://www.netmechanic.com/news/vol3/css_no15.htm - a page I just found. Quote Link to comment https://forums.phpfreaks.com/topic/68962-solved-css-using-fonts/#findComment-346808 Share on other sites More sharing options...
watthehell Posted September 12, 2007 Author Share Posted September 12, 2007 Thanks man, i will try it too.. but bad luck.. pips now use FF more than IE... anyway i will try so TOPIC SOLVED Quote Link to comment https://forums.phpfreaks.com/topic/68962-solved-css-using-fonts/#findComment-346814 Share on other sites More sharing options...
ToonMariner Posted September 12, 2007 Share Posted September 12, 2007 IE is still the 'dominant' force but only just - nothing like what it used to be... Perhaps we could petition FF to accept this technology???? Quote Link to comment https://forums.phpfreaks.com/topic/68962-solved-css-using-fonts/#findComment-346843 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.