[nycphp-talk] Good Font Size Control
Michael B Allen
ioplex at gmail.com
Fri Aug 10 17:25:53 EDT 2007
On 8/8/07, Dan Cech <dcech at phpwerx.net> wrote:
> My personal preference is to use the following rule:
>
> * {
> font-size: 100%;
> }
>
> to reset the size of all fonts to 100% of the parent element, then set a
> size on the body tag as your baseline, eg:
>
> body {
> font-size: small;
> }
>
> Now everything will have the same font size, and changing the font size
> on the body will affect everything.
Hi Dan,
Well this is pretty much what I did and I have to say it actually
worked pretty well. No need for separate CSS files or JavaScript to go
with since I can dynamically change the body tag to specify a
different class.
Thanks,
Mike
More information about the talk
mailing list