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
https://forums.phpfreaks.com/topic/260257-use-tahoma-font-in-css/
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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.