`
longgangbai
  • 浏览: 7249897 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

jquerymobile 开发中几个样式问题

 
阅读更多

1.在jquerymobile开发中如果遇到中文乱码处理如下

   在html页面的body中添加
   <meta http-equiv="Content-type" content="text/html; charset=utf-8">

 

2.在jquerymobile开发中如果遇到不能自动适应屏幕大小如下

   在html页面的body中添加
       <meta name="viewport" content="width=device-width, initial-scale=1">

3.phonegap项目找不到文件

  phonegap中www为虚拟网点,所有的本地html文件必须在www以下,访问采用相对路径,采用file协议。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics