我正在使用以下内容来定位iphones,手持设备使用特定的移动样式表,但黑莓浏览器仅拾取常规屏幕样式表。如何定位黑莓浏览器?
<link media="handheld, only screen and (max-device-width: 320px)" href="mobile.css" type="text/css" rel="stylesheet" />
<link media="only screen and (max-device-width: 480px)" href="mobile.css" type="text/css" rel="stylesheet" />
我测试过该网站的所有其他移动设备都选取了正确的样式表。
有没有人知道一种方法来针对黑莓浏览器做同样的事情?
谢谢!