我正在与jQuery移动创建移动设备的页面。
下面是我使用的基本页面模板:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Test Page</title>
<link rel="stylesheet"
href="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.css" />
<script src="http://code.jquery.com/jquery-1.6.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.js">
</script>
</head>
<body>
<div data-role="page">
<div data-role="header" data-theme="b">
<h1>Page Title</h1>
</div>
<div data-role="content">
<div data-role="content" data-theme="a">
Page Content
</div>
</div>
</div>
</body>
</html>
当我尝试在手机(三星Galaxy、iPhone等)上查看此内容时页面宽度太大(在小分辨率设备上强制滚动,或在较大分辨率设备上强制滚动非常小的文本)。
有人能告诉我我哪里做错了吗?
谢谢!
https://stackoverflow.com/questions/6885633
复制相似问题