English 中文(简体)
如果屏幕宽度小于700px,则应当使用媒体频率添加另一条 c。
原标题:If the screen width is less than 700px it should add another css stylesheet using mediaqueries... but it doesn´t

I ́m 采用不同风格的手法,使用<代码><link rel=“etsheet”型媒体=“thetext/css” 只屏幕和(最多:700px)”href=“/smartphones.cs”/>

The thing is that in my browser it works ok (when I make the window smaller, or when I use a site that emulates some smaller devices), but it won´t work when I try to access my site using my phone. I´ve tried with an HTC Wildfire (240x320 px) and I´ve set my smartphones.css stylesheet to get called if the screen is smaller than 700px.

我的“老板”删除了藏匿点,“我”甚至与另外几部电话一起尝试......这似乎仍然看着我网站的完整、正常和大型窗口版本。

任何关于什么可能是错误的的想法?

该网站是Wliganet。

感谢!

最佳回答

或许,你的聪明电话没有告诉你网站,它的屏幕是很小的。 有时使用智能电话。 我的火力会把窗户推向窗户,使窗户保持大,而不是告诉网站,它应当交给一个较小的版本。

或许应当检查吉大港山区的头目。 用户-代理人,而不是为此依靠屏幕尺寸。

问题回答

在主角里,这只是一句话。

<meta name="viewport" content="width=device-width, initial-scale=1.0">

它将工作。





相关问题
How can I make mobile version of an existing web site?

We have a website coded with jsp-Java. Now, we want to show our website more user friendly on blackberry etc. Is there any tool or method to do this issue more easier? thanks for your answers.

Should I make my mobile application for Mobile 6 or Mobile 5?

I am going to be making a small application very soon. I am wondering would it be better to go and make it for 6.0 or should I make it for 5.0? I don t know much about both versions but I guessing ...

How do I combine @font-face and @media declarations?

I d like to build a common typography stylesheet with a very small number of selectors. As such, I d far prefer to use @media sections for the various versions rather than create different files, each ...