zohab Posted April 3, 2012 Share Posted April 3, 2012 Hi, I want to use tahoma font in my website but we don't have this font available in font-family. I have following available using font-family. [1]. Arial, Helvetica, sans-serif [2]. Times New Roman, Times, serif [3]. Courier New, Courier, monospace [4]. Georgia,Times New Roman,Times,serif [5]. Verdana, Arial, Helvetica, sans-serif [6]. Geneva, Arial, Helvetica, sans-serif I have tahoma.ttf file downloaded from http://fonts.zaraf.ro/font4515/Tahoma.htm How can I use tahoma font in css. - Thanks Quote Link to comment Share on other sites More sharing options...
Jessica Posted April 3, 2012 Share Posted April 3, 2012 You can put whatever you want in the font-family attribute. You'd want to put Tahoma as the first font in the list. the list is processed until the browser finds one it can use, so you always end with generic. Pick one of the sans-serif (probably the one with Verdana first) and add tahoma in front. Quote Link to comment 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.