Re: Best way to control font size?

by "JamesKB" <jameskb(at)mindspring.com>

 Date:  Fri, 15 Sep 2000 23:45:07 -0500
 To:  <hwg-basics(at)mail.hwg.org>
 References:  texas
  todo: View Thread, Original
Jim....

Thanks for your very informative reply.  There is some good information here
I will have to consider. Again... thanks for the reply.

Take Care.......

----- Original Message -----
From: "Jim Tom Polk" <jtpolk(at)texas.net>
To: <hwg-basics(at)mail.hwg.org>
Sent: Thursday, September 14, 2000 10:35
Subject: Re: Best way to control font size?


> > What are the thoughts on controlling font sizes??....  be it "absolute"
i.e.
> > "basefont=" then using percentages (font size="75%") or (font
size="small")
> > etc......  or  relative... or what ever???
> >
> > using font size="##px".... etc.... etc....etc....  or ??
>
>
> If you are using the font tag with the size attribute, I would use
> relative rather than absolute sizing. Relative sizing means that the
> font is scaled up or down from what the browser has set as the default.
>
> Absolute: font size="2"
> Relative: font size="-1"
>
> Where 0 is the default, and the range is:
>
> -2, -1, 0, +1, +2, +3, +4
>
> I prefer not to use basefont as it is depreciated by the newer HTML
> specs, and using CSS works better to define font sizes.
>
> If using CSS, the best of all possible worlds would be to use
> perenctages, or to use a unit that scales against the default.
>
> Because of problems with CSS and fonts in browsers today, I instead use
> pt or px to define a font size:
>
> P { font-size: 12pt; }
>
> Also, because of other platforms rendering fonts smaller than the same
> font on Windows, I also follow a rule of never going below 10 pt when
> rendering a sans-serif font (Arial, Verdana), and no less than 12pt when
> rendering a serif font (Times New Roman, Times, Garamond). Also, at the
> minimum font sizes, I perfer to not use italic.
>
> I do not concern myself much with how much the look of a page ''breaks''
> when a customer decides to specify a different size for the fonts or to
> disable CSS for a site. I am happy that they are visiting my site. I do
> look at the pages (usually just a couple since I heavily rely on
> templates for my design) with CSS off or the font size increased by one
> and two just to make sure that the page is still understandable, but do
> not concern myself with ''looks'', just if it is understandable.
>
> These are the rough and ready rules I follow with the browser technology
> currently in place.
> --
>
>
> Jim Tom Polk -:- jtpolk(at)texas.net -:- http://camalott.com/~jtpolk/
> ''You might as well fall flat on your face as
>   lean over too far backwards.''      --James Thurber--
>    "The Universe is run by the complex interweaving of three
>           elements: energy, matter and enlightened self-interest."
>   - G'Kar  "Survivors"

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