Re: Browser text size setting



I do not want to play around with the size of the text.

I have a framed website with the NavBar in a frame down the left hand side.
The width of the NavBar frame is set at 150 and the buttons at 8em.

When the user adjusts the size of the text, the buttons change in size also
(correctly). At this point, I want to adjust the width of the NavBar frame.

How to I find out what size text the browser is set to?

"RobG" <rgqld@xxxxxxxxxxxx> wrote in message
news:uYoPf.655$Nv4.99610@xxxxxxxxxxxxxxxxxxxx
Roger Withnell wrote:
How to I find out what size text the browser is set to?

var textSize = prompt("Please enter your browser's text size");

Ha ha... :-)

The concept of 'text size' is different in different browsers. IE uses
largest, larger, smaller, etc. with a base 'size' based on system
settings. Firefox has a base font size in pts and then adjusts from there
(and system settings have an effect on it too).

Other browsers likely have other methods, e.g. IE 7 Opera has a zoom
factor as well. Different platforms add to the mix.

So stop wanting to know or even care about what font size setting a
particular browser may have. Make your fonts look good relative to each
other and leave the rest up to the user. You may get more help or advice
in:

news:comp.infosystems.www.authoring.stylesheets

Try this:

<URL:http://db.tidbits.com/getbits.acgi?tbart=05284>


Way back Macs used 72dpi for screen fonts but that appeared too small for
the developers of Windows, so they used a default of 96dpi. Sending an
image made for 96dpi to a 72dpi screen made the images larger. However,
now those fonts look too big so everyone makes their web fonts 90% or even
80%.

All because one software vendor tried to trick the system... please don't
compound the problem.


Thanks in anticipation.

No problem! :-)


--
Rob


.



Relevant Pages

  • Re: Browser text size setting
    ... What is top-posting? ... Way back Macs used 72dpi for screen fonts but that appeared too small ... The width of the NavBar frame is set at 150 and the buttons at 8em. ... How to I find out what size text the browser is set to? ...
    (comp.lang.javascript)
  • Re: Browser text size setting
    ... So stop wanting to know or even care about what font size setting a particular browser may have. ... Way back Macs used 72dpi for screen fonts but that appeared too small for the developers of Windows, so they used a default of 96dpi. ... I have a framed website with the NavBar in a frame down the left hand side. ... The width of the NavBar frame is set at 150 and the buttons at 8em. ...
    (comp.lang.javascript)
  • Re: Browser text size setting
    ... Way back Macs used 72dpi for screen fonts but that appeared too small ... The width of the NavBar frame is set at 150 and the buttons at 8em. ... How to I find out what size text the browser is set to? ...
    (comp.lang.javascript)
  • Re: Text rendering in FX3
    ... Font sizing often has peculiar effects on page layout. ... example page from the Brazil website - set your browser with midget ... fonts favoured by many designers, and it might work as expected; ... and things fall apart when stupid design assumptions are made. ...
    (Fedora)
  • Re: Text rendering in FX3
    ... Font sizing often has peculiar effects on page layout. ... example page from the Brazil website - set your browser with midget ... fonts favoured by many designers, and it might work as expected; ... and things fall apart when stupid design assumptions are made. ...
    (Fedora)