0

Im building an app with Jquery mobile and Phonegap and my employer wishes that the app displays content differently on an tablet and on an Iphone, especially he wants the app to display an certain form on an Iphone with input field stacked on top of each other and spread out on an tablet since it has more space on the sides. On the tablet it should also be fixed horisontally. Does anyone know some resources to dig deeper into this?

4

1 回答 1

0

have you heard of Responsive Design? This will make use of css media queries to display the contents based on the screen size of the device.

jQuery Mobile has some built in support for responsive design, but sky is your limit for your innovative designs.

Check this simple tutorial too.

于 2013-03-31T06:12:53.833 回答