Re: Browser text size setting
- From: "Roger Withnell" <rogerREMOVE@xxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 8 Mar 2006 10:09:21 -0000
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
.
- Follow-Ups:
- Re: Browser text size setting
- From: Thomas 'PointedEars' Lahn
- Re: Browser text size setting
- From: Gérard Talbot
- Re: Browser text size setting
- References:
- Browser text size setting
- From: Roger Withnell
- Re: Browser text size setting
- From: RobG
- Browser text size setting
- Prev by Date: How can we make one particular option's text bold in html.
- Next by Date: Re: How can we make one particular option's text bold in html.
- Previous by thread: Re: Browser text size setting
- Next by thread: Re: Browser text size setting
- Index(es):
Relevant Pages
|