Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is the use of relative values in font sizing for accessibility still useful in general, or only for IE6?

All other browsers (not IE6) are scaling the size of the whole layout in px. So what's the purpose to use em and % if we are not thinking about IE6?

like image 375
Jitendra Vyas Avatar asked Oct 14 '22 10:10

Jitendra Vyas


2 Answers

Have you considered all major mobile device (eg, phone) browsers as well?

like image 172
Dan McGrath Avatar answered Nov 15 '22 00:11

Dan McGrath


If you specify font sizes by em, your codes will be more flexible and easier to maintain when you want to change the underlying font size later. Also, as Dan McG has said, not all browsers scale in pixels.

like image 30
shinkou Avatar answered Nov 15 '22 00:11

shinkou