Hacker News new | comments | show | ask | jobs | submit login

> Don’t disable zoom ability in the viewport metatag, such as in user-scalable=no.

Please don't ever do this. It really sucks for reading your site on a touch tablet.




but please please please, if you're making a site that is even the least bit elastic, do put in a "<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0">. if you don't put in a min-scale=1, the iPad renders pages at 1024px wide and then scales them down to 768px, making everything unnecessarily small.


That sounds like a bug in the iPad browser?


It's not really a bug; that's how it's designed. If you don't tell it that you've though about how to zoom for mobile devices, it guesses for you.


Making sure there's at least some legible text in the page if it's not on the last couple lines sounds like a start...


You almost have to. position:fixed on a lot of android devices won't work without it.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: