Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Font Type Change programatically in PHP when font type not present on client system

Posted on 2009-07-04
1
180 Views
Last Modified: 2012-05-07
I need some concept and code for changing the Font Type of a content in one page when the font type is not available on the client computer. The font type should be checked, if its available in the client computer then the browser should interpret it or the program should change it.
0
Comment
Question by:sastry_hora
1 Comment
 
LVL 5

Accepted Solution

by:
Opalelement earned 125 total points
ID: 24777051
CSS has that built in...

font-family: Georgia, "Times New Roman", serif

If Georgia doesn't exist, it uses Times New Roman. If that doesn't exist, it goes to the default Serif font on the machine.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PHP Installer 5 37
What does this formatting equate to? 7 18
Wordpress Cron - Send XML Data to external server FTP 3 23
issue with DB import 1 17
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Learn how to create interesting presentations by including videos to keep your audience engaged using Prezi. Select "Insert" from the top menu in your Prezi editor: Select "YouTube Video": Paste the video URL into the prompt: "Select "Insert":…
In addition to being a great web-based presentation tool, Prezi also makes it easy to save your presentation as a PDF to share with others as well. Learn how in this tutorial. Select the share icon from the top menu in your Prezi editor: Select "D…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question