On 06/05/15 15:30 (GMT-0400) Tim Ware apparently typed:

> Yes, I know it's frowned upon, but I'm coding a site for a client/ 
> designer and persuaded them to use CSS/HTML for their navigation, but  
> we *definitely* need to lock down the file size for the navigation or 
> it breaks the design. I've tried using "pt" and "xx-small" which are  
> supposedly absolute values,

xx-small is not an absolute size. It's size is relative to the user's
default, and typically works out to around 60% of medium. Pt sizes,
though not recommended in CSS except for print media, are a good guide
to whether your design can handle the sizes users prefer or require.
Most ordinary web users prefer 10pt, 12pt, or 14pt, with most in the
middle. If your design can handle those sizes, most users will be OK.

Note too that pt sizes onscreen aren't necessarily the nominal sizes
they claim to be. That's a reason why they're a bad idea for screen
media. Pt sizes depend on system DPI, which can be pretty far off
realistic, since most systems run at 96 DPI regardless of other system
characteristics. More on px, pt & DPI: http://hsivonen.iki.fi/units/

On "locking down" size generally:
http://mrmazda.no-ip.com/SS/bbcSS.html
http://mrmazda.no-ip.com/auth/pxmonkeys.html

> but FireFox just resizes the text if it's
> increased through the browser interface.

As can every modern browser other than IE (which now nearing age 5
really isn't modern anyway). Opera can even zoom images.

> How can I specify a font size that's bulletproof as regards  
> increasing the browser's text size?

As David Laakso and Ed Seedhouse and others have already written or
implied, you cannot lock down text size. Even IE users, whose text
resizer widgets are powerless against px and pt sized text, have an
accessibility mode that will throw away all your attempts to size text,
frequently with the result the text at the size they require won't fit
into the space your design has alotted, causing either overlapping, or
disappearing text or other page objects.

So, to "bulletproof" your text size, you make text size irrelevant. Make
everything relative, and then everything can maintain proportion, and
accessibility to all sighted users, regardless of zoom level. Example:
http://mrmazda.no-ip.com/indexx.html

BTW, if this thread continues much longer, the list moms will shut it
down. Check out the list policy on the wiki for the offical reason why.
While there, you can read up on all this that's been covered before.
-- 
"All have sinned & fall short of the glory of God." Romans 3:23 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://mrmazda.no-ip.com/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to