Hi I have a problem with XHTML and the 3650 browser.
I have made a style sheet which I linked to the XHTML page.
The page is a simple page a header ,picture and some text.
If i dont use the style sheet it shows the picture alrite.
But when I use the stylesheet. It first shows the text unformated.
The page keeps loading the style sheet and suddenly the text is formed after the style.
But as the style sheet is loaded the browser just stops. And never finishes to load the picture. Without the style sheet it keeps loading and eventualy shows the picture (tested jpeg, gif, wbmp).
this is the xhtml i use.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
<title>XXMusic LIVE Presents:</title>
<link rel="stylesheet" href="live.css" type="text/css"/>
<h4 class="a">Saturday 03/9</h4>
<img src="test.gif" alt="test text!"></img>
Blalalalla bla bla!<br />
80:th bla ala albla<br />
Blalsl 3e. K-19<br />
I tried out your XHTML page and it works OK for me.
Both CSS style formats and image showed-up OK.
In trying to recreate your problem... and I found some thing strange... that the browser did have problems when the image was too large.
Maybe, with the addition of the CSS file download, there was not enough memory in the browser cache to complete the download of large pics?
For me, an image size of 62KB loaded fine. But, an image size of 63KB did not load in the browser. Supposedly Nokia 3650 browsers are not limited to cache memory (uses the phone's free memory), but if you have other applications running, this could affect it.
Play around with the image sizes, but a 30-40KB image is a pretty good size for the Nokia 3650. (I have lots of nice images on my XHTML pages which are only 5-20KB.) Remember to take the mobile environment into consideration. It is important to optimize for the mobile screen... especially since many carriers charge users by MB for WAP downloads.
I tried to play around with the image sizes but that didn’t solve the problem either. From the server logg i can se that the browser never requests the image once the .css has been downloaded.
I don’t know if its a bug in the browser or if there might be something strange in our server configuration.
Anyways, instead of using the style sheet I added the styles to the tags in the xhtml code instead. This way I get the look I want and everything loads ok. Another thing is that the 3650 when using a stylesheet shows the page unformatted first while downloading the .css and the applies the styles. Which gives a little weird shifty browsing experience. When instead adding the style to the tags the page shows up 'formatted' at once.