Re: Consistent Cross Browser/Platform Font Sizes in CSS

by "Sheri Reynolds" <reynolds(at)visualresearch.com>

 Date:  Wed, 30 Aug 2000 17:13:21 -0700
 To:  <hwg-basics(at)hwg.org>
  todo: View Thread, Original
>I'm currently using

> font-size : 10pt;
>
> in my stylesheets, because other methods (at least the ones I know) of
> setting the size in CSS seem to behave very differently in IE and NN.
> However, I hate to name an absolute size, because that disables the user's
> ability to control font sizes (and doesn't 10pt on a Mac look pretty
> small?).
> My management is unhappy with the way Arial (that's the font I'm
> using) looks at its default size (too big, they say).  I know there's got
> to be a way to get that look in all CSS browsers, but what am I
> overlooking?


I have started implementing a standard Javascript detect for the platform
(Mac or Win) and I then load a platform specific style sheet. I generally
make all of the Mac font sizes one size larger than Windows. It's not a
perfect solution as there are still variations between the browsers within a
platform, but you can further refine the script to detect platform and
browser and load numerous style sheets to deal with each situation.


Sheri Reynolds
Production Director
Visual Research, Inc.
http://www.visualresearch.com

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA