I am designing a mobile site, and I'm wondering what I should set the font size as. Any suggestions?
|
Like any normal web design, it's worth staying away from pixel sizes so if a user really needs larger text they can still use your site. Unless you're targetting a specific group of phones that you can test, it's best to let the OS and browser handle the size. If you want to optimise the experience, then it all depends on your content and what devices you're targeting. The only way you'll only find the optimal size is by testing. |
|||||||||||||||||||||
|
|
Screen densities and UIs come in a wide range of flavors. So it's really a crapshoot. But if it's a UI catering to mobile devices, it probably doesn't hurt to err on the larger size. |
|||
|
Setting it to somewhere between 18-24pt (or 150-200% if you prefer) will probably give the best compromise results on iPhone and Android. From my testing, mobile browsers totally ignore what the standards say on relative vs. absolute and default to a size that attempts to display a page originally formatted for a full size computer (i.e. just barely readable if you're a teenager). Here are my results on font size in different mobile browsers |
|||
|