Re: Determining the font characteristics of any web page?
- From: "Jonathan N. Little" <lws4art@xxxxxxxxxxxxx>
- Date: Sun, 18 Jun 2006 16:12:38 -0400
Peter Olcott wrote:
"Jonathan N. Little" <lws4art@xxxxxxxxxxxxx> wrote in message news:95125$4495a6b5$40cba7d0$13343@xxxxxxxxxxxPeter Olcott wrote:"Beauregard T. Shagnasty" <a.nony.mous@xxxxxxxxxxxxxxx> wrote in messageYou are missing BTS's point. What the ultimate font size depends on user settings so *my* browser may display the same page differently that BTS's and differently from yours! So when your say "It will do whatever the browser does" who's browser?
It will do whatever the browser does, the browser must ultimately determine a point size, so by whatever means the browser uses, I must also use.
All the I need it the point size that the browser the user is using determines. It okay is this is not the same on any other browser as long as it is this same as the specific browser that the user is using.
I have a short and sweet answer for you and you ain't going to like it! You can't. It is a user setting on the browser, you cannot get that info. You cannot get what the user has for the default font size any more than what font he is using for his monospace font, or what he has installed on his system.
Here is what you can see about the browser:
<script type="text/javascript">
var n=navigator;
for( var e in n){
document.write( e + " is " + n[e] + "<br>");
}
</script>
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
.
- Follow-Ups:
- Re: Determining the font characteristics of any web page?
- From: Peter Olcott
- Re: Determining the font characteristics of any web page?
- References:
- Re: Determining the font characteristics of any web page?
- From: Jonathan N. Little
- Re: Determining the font characteristics of any web page?
- From: Peter Olcott
- Re: Determining the font characteristics of any web page?
- Prev by Date: Re: Determining the font characteristics of any web page?
- Next by Date: Re: Determining the font characteristics of any web page?
- Previous by thread: Re: Determining the font characteristics of any web page?
- Next by thread: Re: Determining the font characteristics of any web page?
- Index(es):
Relevant Pages
|