asp.net移动设备网站 [英] asp.net website for mobile devices

查看:78
本文介绍了asp.net移动设备网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello House,请问我怎么能在移动设备上使用asp.net网页,就像它在我的笔记本电脑和台式电脑上显示一样?在此先感谢。

Hello House, please how could I make asp.net web pages diplay well on mobile device, just as the way it is displaying on my laptop and desktop computers? Thanks in advance.

推荐答案

这个想法对我来说很有问题,请看我对这个问题的评论。一个仅面向移动设备的网站?



您应该假设未知(并且用户可以更改任何时候的窗口大小),所以,不应该依赖它,你应该以一种高度容忍这种特性的方式设计页面。



请看我过去的答案:

图像高度和宽度(英寸) [ ^ ],

为Web应用程序设置标准屏幕分辨率 [ ^ ],

在ASP.net中获取客户端机器分辨率 [ ^ ],

屏幕分辨率问题。 [ ^ ],

在不同的监视器中显示不同视图的网站 [ ^ ]。



尝试拥抱液体流体弹性网页设计。请看我过去的答案:

网页屏幕分辨率(Cross Browser \ Cross Platform)问题 [ ^ ]。



祝你好运,

-SA
The idea looks very questionable to me, please see my comment to the question. A website all oriented only for mobile devices?

Instead of trying to develop code for certain screen resolution, you should assume that is is unknown (and the user can change the window size anytime), so, instead of relying on it, you should design the page in a manner highly tolerable to such characteristics.

Please see my past answers:
Image Height and width in inches[^],
Set A Standard Screen Resolution For Web Application[^],
Get Client Machine Resolution in ASP.net[^],
screen resolution problems.[^],
website display with different view in different monitor[^].

Try to embrace liquid, fluid or elastic Web page design. Please see my past answer:
Webpage screen resolution (Cross Browser\Cross Platform) problem[^].

Good luck,
—SA


使用bootstrap并相应地自定义ur样式表和bootstrap样式表..
Use bootstrap and customize ur stylesheet with bootstrap stylesheet accordingly..


这篇关于asp.net移动设备网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆