Is using relative values ​​in font size for accessibility still useful at all or only for IE6?

All other browsers (not IE6) scale the size of the entire layout in px. So what is the purpose of using em and% if we are not thinking about IE6?

+5
source share
3 answers

Have you considered all the major mobile devices (e.g. phones)?

+2
source

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

+1
source

em % help

Even if all browsers support scaling of the entire layout as you describe, the user interface is not optimal if it should scale the web page every time to match their resolution.

+1
source

All Articles