I am attempting to make my first mobile website by just using a different style sheet but I’m noticing it is more complicated than I expected. Everything is really different when I test both my iPhone 4S and my wife’s android. What do I need to use to make it like Facebook’s mobile site? Where you can’t zoom in or out and it all just fits on your screen?
Share
In order to make sure your page doesn’t need to be zoomed, add the following
metatag in your HTML:It does the following:
width=device-width)1.0If you are looking for methods to allow your website to smoothly work for mobile devices, tablets as well as desktop devices, the keyword is responsive design (or responsive web design). Read this article on A List Apart to get started. Also for a hugely popular (very Facebook-like) responsive layout, see Twitter Bootstrap. For highly mobile optimized UI components, I really recommend taking a look at jQuery Mobile.