首页 新闻 会员 周边

asp.net 开发wap网站,怎样只适应屏幕大小

0
悬赏园豆:20 [待解决问题]
 1 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login1.aspx.cs" Inherits="Login1" %>
 2 
 3 <%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile" %>
 4 <html xmlns="http://www.w3.org/1999/xhtml">
 5 <body>
 6     <mobile:Form ID="Form1" Runat="server">
 7         <mobile:Label ID="Label3" Runat="server">【老板电器促销员数据采集系统】</mobile:Label>
 8         <mobile:Label ID="Label1" Runat="server">用户名</mobile:Label>
 9         <mobile:TextBox ID="txtUser" Runat="server">
10         </mobile:TextBox>
11         <mobile:Label ID="Label2" Runat="server" Style=" width:100em">密   码</mobile:Label>
12         <mobile:TextBox ID="txtpwd" Runat="server" Password="True">
13         </mobile:TextBox>
14         <mobile:Label ID="lblMsg" Runat="server" ForeColor="Red">
15         </mobile:Label>
16         <mobile:Label ID="lblVer" Runat="server" ForeColor="Red">
17         </mobile:Label>
18         <mobile:Command ID="btnLogin" Runat="server" OnClick="btnLogin_Click">登录</mobile:Command>
19     </mobile:Form>
20 </body>
21 </html>
问题补充:

在手机上显示不全,求解决方案

huqian1210的主页 huqian1210 | 初学一级 | 园豆:182
提问于:2013-03-09 13:05
< >
分享
所有回答(2)
0

这个可能跟具体手机的浏览器有关吧。现在开发手机上面的网站,建议使用jquerymobile来实现,可以参考http://jquerymobile.com/ 

陈希章 | 园豆:2538 (老鸟四级) | 2013-03-09 18:05
0

请问你的问题解决了吗?

cherry1986 | 园豆:204 (菜鸟二级) | 2013-10-15 13:46
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册