Nokia S60 WAP browser cursor skip some links on my WAP site! What is wrong?

Example: you have the XHTML + CSS page with sets of links. First links are the contents, then there are two links, “next” and “previous” and then a bottom link to “home”. The strange behaviour is that when you move from the top to the bottom the WAP browser “cursor” skips from the last content to the “home” link and skips the “next” and “previous” links. When going back up from the last link, it highlights the “previous” link, then “next” and then jumps to the very first link on top of the page.

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"  "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<style type="text/css">
body,p{margin:0;padding:0;border:0;}
</style>
</head>
<body>
<p>
<a href="/link1">link1</a><br/>
<a href="/link2">link2</a><br/>
<a href="/link3">link3</a>
</p>
<hr/>
<p>
<a href="/next">next</a><br/>
<a href="/previous">previous</a><br/>
<a href="/home">home</a>
</p>
</body>
</html>

For some reason the old S60 browser does not like margin:0 being set on the p XHTML element. This problem exists only in the S60 XHTML-MP browser, not on S40 or on S60 OSS browsers. The correct code will be:

...
<style type="text/css">
body{margin:0;padding:0;border:0;}
p{padding:0;border:0;}
</style>
...
 
nokia_s60_wap_browser_cursor_skip_some_links_on_my_wap_site_what_is_wrong.txt · Last modified: 2007/03/07 15:28 by dimian
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
vendita computer arredo giardino poltrona massaggi