07-31-2008 06:04 AM
I'm just starting to developp a web site for Blackberry, I've got a question about the layout of the tables. I try to access to the following code with a blackberry browser :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Mobile 1.0//EN"
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<title>BB Tests : Layout</title>
<tr bgcolor="yellow" align="right">
<td>Row 1, Column 1</td>
<td>Row 1, Column 2</td>
<td colspan="2">Row 1, Column 3</td>
<td colspan="2" bgcolor="red">
Row 2, Column 1</td>
<td>Row 2, Column 2</td>
<td>Row 2, Column 3</td>
This sample is gived in the blackberry documentation: http://na.blackberry.com/eng/developers/resources/
My problem is the fact that I don't have the same output than in the documentation, the table is all display in one column.
If you want to test, the previous code is accessible to this url:
I have test both on a simulator and on a blackberry
My configuration :
v22.214.171.124 (platform 126.96.36.199)
I try to change the emulation mode but it was the same issue.
Have you got any ideas ? Perhaps about my code or about my setup ?
Thanks in advance.
07-31-2008 09:05 AM
It seems like you may have tables turned off in the browser options.
This is default behaviour on almost all Blackberries.
It can be turned on using:
-Support HTML Tables
Not only are tables turned off by default, but so is CSS, which is the most painful feature of the Blackberry browser.
07-31-2008 02:22 PM