Hi,

There seems to be a bug in the Nokia 6260 & 7610 Web browsers that causes padding errors. Could someone provide us with a work-around that does not involve updating the firmware please? Details as follows.

I am developing XHTML pages for Telstra's (Australian cellular netwrok) mobile phone portal.

If our pages are relatively small then, the Nokia 6260 & 7610 will render the page correctly, no problem there!

However, if the pages are not-so-small then partway through the page the 6260/7610 starts to render padding (and sometimes margins) larger than specified in styles or stylesheets.

For example we have a <div> with 1 pixel padding enclosing another <div> as shown below.

+--------------------------------+
|+------------------------------+|
|| Weather......................||
|+------------------------------+|
+--------------------------------+

|,-,+ characters represent to outline of the <div>. '.' character represents whitespace. This pattern is repeated down the page, say a dozen times. The first few times the <div> is rendered correctly, with 1 pixel of padding inside the outer <div>

However on the 6260, partway down the page, the padding at the top of the <div> becomes way too large as shown below:

+--------------------------------+
|................................|
|................................|
|+------------------------------+|
|| Weather......................||
|+------------------------------+|
+--------------------------------+

This pattern is repeated down the rest of the page.


Whereas on the 7610, partway down the page, the padding at the bottom of the <div> becomes way too large as shown below:

+--------------------------------+
|+------------------------------+|
|| Weather......................||
|+------------------------------+|
|................................|
|................................|
+--------------------------------+

Once again, this pattern is repeated down the rest of the page.

Below is a snippet of the XHTML I used to generate these errors.

----------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html>
<head>
<title></title>

</head>
<body class="menudriven-homepage" title="" id="body">
<div style="padding:0; border:0; margin:0; background-color:#0071AC">


<!--repeat following about 30 times-->
<div style="margin:3px 3px 0 3px; padding:1px; background-color:#FFF">
<div style="margin:0; vertical-align:middle;line-height:18px; background-color:#CEEBF7;font-size:xx-small ; font-weight:bold ;background-image:url(/mcp/furniture/bp3/m_cb/m_cb_185.jpg);background-position:left;background-repeat: repeat-y">
<img src="/mcp/furniture/bp2/m_bm/m_bm_15.gif" width="15" height="15"/>
<a class="nd" style="text-decoration:none" href="/mcp/am/bp/bp2?_nfpb=true&amp;_pageLabel=bp2_wt&amp;pg_id=4">Weather</a>
</div>
</div>
<!-- end of repeat-->


</div>
</body>
</html>
----------------------------------------
The repeated snippet is extactly the same every time, yet the 6260/7610 choses to render it differently. Telstra have a large number of customers so upgrading the firmware in this phone is not an option. Can you please suggest a workaround for this problem?

I look forward to hearing from you.

Thanks

Regards Brett Sheeran