Solved

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

Posted on 2009-07-04
1
172 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

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 …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

707 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now