Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> What's wrong with the following CSS snippet for example?

It doesn't achieve a reasonable readable font size which was presumably the goal. Your padding won't be the right size for all screens either. (And personally I hate excessive line height).

> respect the browser's default font size

The browser's defaults are also bad. But they shouldn't be. The browser is in a position to actually fix this; the webdev isn't.



> The browser's defaults are also bad.

What's bad about them? There is a sensible default and users (in particular those with poor eyesight) will adjust them to their needs.

Ignoring this default is presumptuous.


> What's bad about them? There is a sensible default and users (in particular those with poor eyesight) will adjust them to their needs.

16pt is a sensible default on some screens and very much not on others.

> users (in particular those with poor eyesight) will adjust them to their needs

In the real world they won't though, much as we might both wish otherwise.


Guess what: When you setup your smartphone, it asks you what font size you want. So it's unlikely to be 16pt for everyone.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: