0
只是为了测试和学习css3我想创建小型移动网站。但现在我在定位样式表时遇到了小问题。我做它以这样一种方式:CSS3 - 手机网站和媒体查询
<link rel="stylesheet" media="only screen and (max-width: 180px)" href="xsmall.css" />
<link rel="stylesheet" media="only screen and (min-width: 240px)" href="small.css" />
<link rel="stylesheet" media="only screen and (min-width: 320px)" href="medium.css" />
<link rel="stylesheet" media="only screen and (min-width: 480px)" href="large.css" />
<link rel="stylesheet" media="only screen and (min-width: 540px)" href="wide.css" />
后,可惜的是改变xsmall.css变化是其他网络的版本也可见(所以对于480像素,540像素等)。我在Opera Mobile Emulator上测试网站(移动版)。我做错了什么?
感谢
该死的.. @Guffa谢谢。我真笨 -。- ;) – 2012-04-10 11:52:47