WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Question from Newbie


From: Jukka K. Korpela
Date: May 29, 2008 2:20AM

Gunlaug Sørtun wrote:

> Yes. Preferably at or close to 'font-size: 100%;' all the way through
> (for regular body-text), as that's the most "friendly" starting point.

body { font-size: 100%; }

> Do not forget to declare 'line-height' friendly too. Somewhere around
> 'line-height: 1.4;' will work well in most cases.

Setting line-height is useful, since common browser defaults tend to be
too small especially for long lines and for fonts that utilize a large
part of the font height (Verdana being perhaps the most striking
example). However, 1.4 tends to be too large; I would normally use 1.3,
though this depends on font face. Unfortunately, this needs to be a

Setting line-height for _all_ elements is useful since it helps to avoid
some browser bugs. For example,
* { line-height: 1.3; }

Jukka K. Korpela ("Yucca")