On 2 Mar 2007, at 14:15:31, TuteC wrote:
Once I saw a Nokia trying to serve a "wide" (media=screen) CSS, I solved it using a media=handheld stylesheet, almost empty. It would be a problem if these little devices are trying to load the 'screen' sheet, do you have handheld specific defined sheets in your code? Sorry to ask, but if it doesn't help you then it'll help me.
Just to add to the general flow of information here: Microsoft's IE Mobile, which is used on phones and handhelds (e.g. iPaq PDAs) running Windows Mobile (formerly Windows CE), will apply stylesheets of media type "screen" *AND* "handheld". This means that any rules in the screen stylesheet which must not apply on the handheld device _must_ be explicitly overridden, which is a bad thing as obviously one wants to keep the handheld download as small as possible.
(Note that IE Mobile is not the same as IE for normal Windows - it's a totally different and, in certain other respects, more standards- compliant browser.)
When I raised this with the IE Mobile team last year, their attitude was basically that as their kit had always done that, they couldn't change it for fear of breaking existing stuff.
(One team member also commented that his current PDA had an 800x600 screen, so was perfectly capable of handling a lot of screen styling. I didn't bother pointing out that we don't all get the latest kit supplied by a rich employer like MS, nor do we all get the kind of salaries MS offer to waste on gadgets.)
They did admit that they weren't quite sure why they'd missed out the <button> element when they implemented HTML 4.01 several years ago, but apparently it's now in very recent versions.
Just to add to the fun, IE Mobile offers several rendering modes - honour the source, put everything in a narrow column no matter what, and something in between, as far as I can tell. Some of these will ignore various aspects of both the markup and the styling to try to get everything to fit. These work in ways that I have never found any meaningful documentation for, although in at least one rendering mode it will apply its own styles for certain elements (e.g. <ul>) in a way that will override anything you try to do.
It also supports switching from landscape to portrait mode, under the user's control, so you can't make any assumptions about the screen dimensions, or whether the screen is wider than it is tall or not.
Finally, the manufacturer of the equipment (phone, PDA, whatever) can make their own low-level configuration changes to the IE install, and select which options can be overridden by the user. So one device may allow the user to select the rendering mode to use while another only ever allows the use of one rendering mode - usually the one which leads to the most unpredictable results.
On the bright side, recent (version 5 upwards, I think, which is about 18 months - 2 years old) do support the use of XMLHttpRequest (via the MSXML ActiveX approach). Ain't life wonderful...
HTH, Nick. -- Nick Fitzsimons http://www.nickfitz.co.uk/ ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************
