Font sizes
There's three popular ways to define the sizes for font using CSS - using em, pixel (px) and percentage %.
For web designer, every design software we use such as photoshop and flash only allow the pixel fonts. It's fine with using px as font size but visually impaired users won't be able to resize your fonts using browser built-in font resizer tool (especially in IE). One of the duties of designers is to make the site as accessible as possible.
So my advise for designers - set the body font in em first, an em is roughly equivalent to 16 pixels. Then set the rest of the font size for your elements using percentage %. Example
body { font-size:1em; } - which is the same as setting body font size to 16px
p { font-size:80%;} - which is the same as setting the font size to approx 13px
By using em as the base font size, now users will be able to resize the fonts by just using the browser built-in resizer if the texts are too small.
For web designer, every design software we use such as photoshop and flash only allow the pixel fonts. It's fine with using px as font size but visually impaired users won't be able to resize your fonts using browser built-in font resizer tool (especially in IE). One of the duties of designers is to make the site as accessible as possible.
So my advise for designers - set the body font in em first, an em is roughly equivalent to 16 pixels. Then set the rest of the font size for your elements using percentage %. Example
body { font-size:1em; } - which is the same as setting body font size to 16px
p { font-size:80%;} - which is the same as setting the font size to approx 13px
By using em as the base font size, now users will be able to resize the fonts by just using the browser built-in resizer if the texts are too small.
Comments