Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

New Developer
Posts: 3
Registered: ‎07-30-2008
My Device: Not Specified

Layout - Tables



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>
  <caption>Table Example</caption>
  <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/journals/jan_2005/XHTML_in_depth.jsp#tables

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 :

Blackberry 8820

v4.2.2.124 (platform


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.


New Developer
Posts: 4
Registered: ‎07-25-2008
My Device: Not Specified

Re: Layout - Tables


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:


 -Browser Configuration

 -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.

New Developer
Posts: 3
Registered: ‎07-30-2008
My Device: Not Specified

Re: Layout - Tables

Unfortunately, this is not my problem because I have already activated the support of HTML tables on my simulator and on my blackberry...


BlackBerry Development Advisor
Posts: 15,882
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Layout - Tables

There are some table rendering issues in some BlackBerry handheld software versions of 4.2.1 and 4.2.2.  These should be resolved in BlackBerry handheld software version 4.5.0.  Please check your carrier's web site to see if an upgrade is available for your BlackBerry.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.