When designing a web page you can apply different stylesheet depending on the browser calling the page. One way of doing this is by using:
(more about CSS filtering)
As shown, there are supposely several type that could be specified: screen (Desktop browser with normal screen capabilities), print (for use when printing the page), handheld (for mobile devices with reduced screen capabilities)…
I was trying to apply this yesterday to a blog, so that when loading it from my PDA it wouldn’t load the full CSS, with backgrounds and so… with no success!
And I found that PocketIE loads both screen and handheld CSS, instead of just loading the handheld one! (yes, it sucks!)
I found a is a trick to fool PocketIE on Windows Mobile Team Blog:
Use media=”Screen”, not media=”screen” for your screen stylesheets, and pocket IE will ignore them.
It works! PocketIE won’t load the Screen’s CSS! This trick seems to be called “CodeBitch Omniweb case hack“.

0 Response to “PocketIE loads “screen” CSS stylesheets”