This seems like an old article and it relies on JavaScript.
Can anyone think of a PHP method of doing this?
Clive
Can anyone think of a PHP method of doing this?
Clive
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/URL]
<html xmlns="[URL unfurl="true"]http://www.w3.org/1999/xhtml"[/URL] xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<style type="text/css">
div {background:#ccc;width:262px;height:40px;overflow:auto; font-size:16px}
#one {font-family: monospace}
#two {font-family: Wingdings, monospace}
#three {font-family: NoSuchFont, monospace}
</style>
<title>Font Detection</title></head><body>
<div id="one">
abcdefghijklmnopqrstuvwxyz
</div>
<br /><br />
<div id="two">
abcdefghijklmnopqrstuvwxyz
</div>
<br /><br />
<div id="three">
abcdefghijklmnopqrstuvwxyz
</div>
</body></html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/URL]
<html xmlns="[URL unfurl="true"]http://www.w3.org/1999/xhtml"[/URL] xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<style type="text/css">
textarea {width:200px; font-size:12px}
#ta1 {font-family: monospace}
#ta2 {font-family: Webdings, monospace}
</style>
<title>Font Detection</title></head><body>
<form name="myform" method="get" action="#">
<textarea id="ta1" name="ta1" rows="2" cols="27"
wrap="nowrap">abcdefghijklmnopqrstuvwxyz</textarea>
<textarea id="ta2" name="ta1" rows="2" cols="27"
wrap="nowrap">abcdefghijklmnopqrstuvwxyz</textarea>
<input name="s" type="submit" value="Send" />
</form>
</body></html>