×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    1

    Question XHTML table on N73 WAP browser

    Hello,

    I'm having issues getting an XHTML table to render correctly on N73 using the WAP browser (launched from menu -> services). The page renders correctly on N70, N71 and N80 phones, but on N73 it breaks. The problem I'm having is that the table row with two cells is stretched for some reason horizontally.

    Code:
    <?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">
    	<head>
    		<title>Test page</title>
    		<style type="css">
    			body {
    				background-color: #737D8C;
    				font-family:  arial, helvetica, sans-serif;
    				font-color: #FFFFFF;
    				margin: 0px;
    				color: #FFFFFF;
    				text-align: center;
    			}
    			table {
    				padding: 0px;
    				border: 0px;
    				margin: 0px;
    				border-spacing: 0px;
    				border-style: none;
    				border-collapse: collapse;
    			}
    			td {
    				background-color: white;
    				text-align: left;
    				padding: 0px;
    				border: 0px;
    				margin: 0px;
    				border-width: 0px;
    				border-bottom-width: 0px;
    				border-top-width: 0px;
    			}
    		</style>
    	</head>
    	<body>
    		<table width="230" style="width:230px; max-width: 230px;">
    			<tr>
    				<td colspan="2"><img src="some_image.jpg" width="230" height="14"/></td>
    			</tr>
    			<tr>
    				<td colspan="2" style="padding:5px;">
    					<img src="nappi.gif" width="8" height="9"/>&nbsp;<a href="page.html">
    					something</a>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:110px;">
    					<div style="padding:0px; width:110px;">
    						<img width="110" height="90" src="test.jpg" border="0"/>
    					</div>
    				</td>
    				<td style="padding:5px; width:110px; color:black;">
    					<img src="nappi.gif" width="8" height="9"/>&nbsp;<a href="tee">some</a><br/>
    					Text here
    					<br/>
    					More here 0
    				</td>
    			</tr>
    			<tr>
    				<td colspan="2" class="black" style="padding:5px;">
    					<img src="nappi.gif" width="8" height="9"/>
    					<a href="somelink.html">More stuff</a><br/>
    				</td>
    			</tr>
    			<tr height="7">
    				<td colspan="2"><img src="another_image.jpg" width="230" height="7"/></td>
    			</tr>
    		</table>
    	</body>
    </html>
    Thanks,
    -Mr.T

  2. #2
    Registered User
    Join Date
    Jun 2004
    Posts
    3

    Re: XHTML table on N73 WAP browser

    Hi

    I have the same problem, pls let me know if you find a solution.

    Thanks

  3. #3
    Registered User
    Join Date
    Oct 2006
    Posts
    2

    Wink Re: XHTML table on N73 WAP browser

    Mobile Web Best Practices 1.0

    http://www.w3.org/TR/mobile-bp/#iddiv3126724712


    [TABLES_LAYOUT] Do not use tables for layout.

  4. #4
    Registered User
    Join Date
    Feb 2007
    Posts
    4

    Re: XHTML table on N73 WAP browser

    HI ,

    We have developed xhtml site with div tags,instead of table.Still we are facing the same problem.Some phones will display the contents properly but not all mobile browsers.

    Any kind of help is appreciated

    Thanks

Similar Threads

  1. Wap borwser and Web Browser differences
    By gpalvia in forum Symbian
    Replies: 2
    Last Post: 2004-05-25, 18:21
  2. localhost support in 3650 WAP browser?
    By hansomaier in forum Symbian
    Replies: 1
    Last Post: 2004-01-13, 11:09
  3. table cell (TD) width in 3650 xhtml browser
    By tosalmin in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2003-03-17, 09:35

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×