Re: Determining the font characteristics of any web page?



Peter Olcott wrote:
"Jonathan N. Little" <lws4art@xxxxxxxxxxxxx> wrote in message news:95125$4495a6b5$40cba7d0$13343@xxxxxxxxxxx
Peter Olcott wrote:
"Beauregard T. Shagnasty" <a.nony.mous@xxxxxxxxxxxxxxx> wrote in message
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.
You 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?


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
.



Relevant Pages

  • Re: Fitting the Page to Various Resolutions
    ... website CSS settings. ... FrontPage Resources, WebCircle, MS KB Quick Links, etc. ... > You can't "lock" font size with CSS. ... >> Nothing you can do about it, the user can increase the font size in their browser as long as you ...
    (microsoft.public.frontpage.client)
  • 49G[+] Bug in ~Choose (ROMPTR B3 0)
    ... The test program 'P0' alternates between current fonts ... its message handler sets up the full-screen option, ... to the built-in defaults of the browser. ... What you will find is that when the current font ...
    (comp.sys.hp48)
  • Re: Setting Standards for Text
    ... > find most browser default settings to be on the ... When you're making your designs flexible enough, ... browser, whatever it may be. ... Mozilla) and setting it to disregard font settings below a certain ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: More on the Sibelius Fourth Symphony
    ... For those who are interested in the Sibelius Fourth Symphony ... (depends on the used browser). ... It's a pretty small font, ... Explorer 6) has a resizing function that is ruled out by the SF ...
    (rec.music.classical.recordings)
  • Re: Symbol font with all four weights
    ... all except one of the Symbol characters. ... misguided author intended") in so far as it relies on browser bugs. ... <font face...> ... Right from the start of published specifications for HTML, ...
    (comp.fonts)