ASP.NET 网站的移动母版页
有人知道我在哪里可以找到 ASP.NET 中移动网站的示例母版页吗? 我以为这只是 CSS 的问题,但显然我错了..
我正在尝试构建一个餐厅网站的移动版本...
Someone knows where i can find sample master pages for mobile sites in asp.net ?
I thought was just a matter of CSS, but obviously i was wrong..
I'm trying to build the mobile version of a restaurant website...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我想确认一下,这不仅仅是CSS。在页面 http://html5boilerplate.com/mobile/ 中,除了 css 之外,还有更多参数。
基本思想是您的页面必须能够适应 320 像素的大小或 200 像素的宽度。
其次,此元标记对于在移动设备上正确查看页面至关重要。
此标记向移动设备说明尝试显示的尺寸是多少,如果未找到,移动设备会将其呈现为 640 或 800 宽度的浏览器,并且您文本和图像太小。
因此,我认为,首先设置此标签,然后修复您的页面并查看其在移动设备上的外观。
I like to confirm, that is not only css. And in the page http://html5boilerplate.com/mobile/ there are some more parameters than just css.
The basic idea is that you page must be able to fit on a size of 320 pixel, or on 200 pixel width.
Second this meta tags are critical to make view correctly the page on mobile
This tags say to the mobile what is the size that the try to show, if this is not found the mobile is render it as is a 640 or 800 width browser and you get too small text and images.
So in my opinion, set this tags first, then fix your page and see how its look on mobile.