Is there a way to force IE or FF into a handheld mode for testing “@media handheld” stylesheets?

后端 未结 4 999
南笙
南笙 2021-01-20 05:50

Is there a way to force IE or FF into a handheld mode for testing \"@media handheld\" stylesheets?

Or, do I have to publish the pages and test with my Blackberry?

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-20 06:05

    I've found Blackberry browser to be so utterly broken, that testing in Firefox or even IE doesn't make sense. Netscape 4 seems like closest approximation.

    If you want achieve decent experience on BB, then you have to get a BB simulator. It's available for free from RIM website (you need to click through a few forms).

    If you just want to test under a mobile browser, than try Opera Mini simlator on-line or desktop Opera in Small Screen view (get version 7.6 or 8.0 from archives if you want exactly the same engine as used today on smartphones).

    Or add html {max-width:240px} to your styles and for testing serve them with media=screen rather than handheld.

提交回复
热议问题