0
我附上媒体查询到我的html文件这样媒体查询奇怪的行为
<!-- SmartPhone CSS -->
<link rel="stylesheet" href="smartphone-portrait.css" />
<!-- IPAD CSS -->
<link rel="stylesheet" href="ipad-portrait.css" media="only screen and (min-width : 550px)"/>
<link rel="stylesheet" href="ipad-landscape.css" media="only screen and (min-width : 970px)"/>
智能手机portrait.css是SHLD应用于所有的时间共同文件,但如果窗口大小小于550px没有风格应用见第一个屏幕。
如果窗口大小大于550,则应用样式。为什么在窗口尺寸较小时不应用css?
没有错别字的错误..在一对夫妇的方向改变后,css开始工作 – coure2011 2012-04-19 17:42:12
是与ipad-portrait.css的问题?如果是这样的话,那可能是因为你的肖像设置为550px的最小宽度。这就要求宽度大于550px。 – 2012-04-19 17:45:07
不!那不工作.. – coure2011 2012-04-19 17:54:11