My Blog contain Phonegap,CMS related posts. Here I am posting the issues solution that I faced while development and its difficult to find proper solution on other sites.
I hope my post will help you with your issues. Developer rocks.
Tuesday, September 25, 2012
Mobile website not fit to the screen.
Open the Html file and write below code in the first line.
For Mobile site:
<!DOCTYPE html PUBLIC “-//WAPFORUM//DTD XHTML Mobile 1.0//EN” “http://www.wapforum.org/DTD/xhtml-mobile10.dtd”>
If Doctype is already exist like below then replace it.
For Desktop site.
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>