|
Posted by Jonathan N. Little on 06/18/06 20:12
Peter Olcott wrote:
> "Jonathan N. Little" <lws4art@centralva.net> wrote in message
> news:95125$4495a6b5$40cba7d0$13343@NAXS.COM...
>> Peter Olcott wrote:
>>> "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> 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
Navigation:
[Reply to this message]
|