Mobile HTML pages basics

后端 未结 3 1649
攒了一身酷
攒了一身酷 2020-12-16 02:56

What are the basics for creating a web page for a mobile device? I\'m developing a simple page with a table and several links, but when I open it with my Android phone it is

3条回答
  •  孤街浪徒
    2020-12-16 03:39

    You can start by adjusting your CSS rules and using the right meta tags:

    http://learnthemobileweb.com/2009/07/mobile-meta-tags/

    http://building-iphone-apps.labs.oreilly.com/ch02.html#ch02_id35932248

    That will solve the resizing problem. For further references you can read some chapters of this book: http://building-iphone-apps.labs.oreilly.com/

    which is aimed to develop webapps for iPhone, but (since iPhone and Android both use webkit browsers) can be very useful for Android too.

    If you want to build rich-featured web app you can then take a look at PhoneGap http://www.phonegap.com/

提交回复
热议问题