Table support

The level of support for tables in the BlackBerry® Browser depends on the version of the BlackBerry® Device Software that the BlackBerry device is running.

BlackBerry Device Software version

Description

3.7 or earlier

Tables are not supported in the BlackBerry Browser in BlackBerry Device Software version 3.7 or earlier.

3.8 to 4.5

In BlackBerry Device Software versions 3.8 to 4.5, the BlackBerry Browser provides basic support for tables, including support for the <table>, <tr>, <td>, and <th> elements.

Basic layout attributes for tables are supported. You can span rows and columns or adjust padding or spacing between table cells. Content in table cells is always wrapped; the nowrap attribute is not supported.

In BlackBerry Device Software version 4.5 or earlier, users can turn off support for tables in the BlackBerry Browser options.

4.6 or later

In BlackBerry Device Software version 4.6 or later, the BlackBerry Browser provides full support for tables, including support for the <thead>, <tbody>, and <tfoot> container elements.

In BlackBerry Device Software version 4.6 or later, users can not specify support for tables; tables are always supported.

The view that the user specifies has an impact on how tables appear on the BlackBerry device.
  • In Column View, table rows that exceed the width of the device screen wrap to fit the width of the screen, and the row cells are stacked vertically.

    In BlackBerry Device Software version 4.6 or later, the BlackBerry Browser ignores table layout in Column View. Each table cell is rendered on a new line.

  • In Page View, tables are rendered as defined. Users might be required to scroll horizontally to view the entire width of the table.

Design tables to fit the screen dimensions and use the HandheldFriendly <meta> tag to prevent scaling. Always test tables thoroughly to make sure they display as intended on the BlackBerry device in all BlackBerry Browser views.

For a complete list of the supported table elements and attributes and the BlackBerry Device Software version in which support was introduced, see the BlackBerry Browser HTML Reference.

Index


Was this information helpful? Send us your comments.