Jump to content

Use tahoma font in css


zohab

Recommended Posts

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

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.