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

> 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.

-----




Applications are open for YC Summer 2015

Guidelines | FAQ | Support | Lists | Bookmarklet | DMCA | Y Combinator | Apply | Contact

Search: