Log in

View Full Version : Problems loading some pages with IE mobile


seth
11-29-2006, 05:35 AM
IE Mobile fails to load web page if page uses CSS that includes an "@import" statement

[I am using a T-mobile Dash running Windows Mobile 5.0 SmartPhone with Messaging and Security Feature Pack. Version 5.1.342 (Build 15097.3.0.1). ]

Some simple web pages do not load. They simply show some small number of KB (4-20KB say) on the progress bar and then stop. The page never displays although the throbber continues.

This is using the version if IE mobile that came with the dash (on WM5).

When I say "simple" I mean a simple HTML page with no flash,. No PHP

I suspect this is NOT a network problem as the same pages load fine if I use Opera instead of IE.

An example of a simple page that will not load in IE mobile for me is:
http://www.d20srd.org/

From the same site though, the following page loads FINE:
http://www.d20srd.org/extras/characterRecord.htm


I copied the problem page (http://www.d20srd.org/) to my own web server so I could investigate the problem

It uses a CSS:
http://www.d20srd.org/styles/home.css

The first line of this CSS is:
@import "main.css";


I found that if and only if I removed this first line, then IE mobile on my WM5 device loads the page just fine. I also verified that while the non-problem page does use CSS, that CSS has NO imports.

So one conclusion is that my IE mobile is choking on CSS imports.


So my questions are:

Does anybody have any idea how to fix this?
Do other WM5 SmartPhone users have a problem loading the example problem page using IE on their dashes of other devices?
What other information can I provide that would help diagnose this issue?

Mike Temporale
11-30-2006, 03:07 AM
Please don't cross post your messages. There's already a discussion going on over here. (http://www.smartphonethoughts.com/forums/viewtopic.php?t=12968&highlight=) Let's continue in that thread. Thanks.