Welcome!

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

BlackBerry® Z10

Reply
Highlighted
itp
Contributor
Posts: 31
Registered: ‎10-01-2010
My Device: Blackberry Curve
My Carrier: Rogers

z10 - Issue with basic rendering of tables, divs. spans

[ Edited ]

We are having trouble rendering an html web page properly in Blackberry Z10.(os10.1)  It seems that by default the native browser renderes fonts to a very small size. If it did this consistently, we could deal with it.

 

However it seems that when there are more than two lines in a container (span, div, table cell etc..) the font will suddenly double in size.  This makes for very irregular pages.  Even worse, you you tilt horizontal and then back to vertical, the fonts get smaller.

 

We tried some css directives to define font , but the browser seems to have the last word on layout.

 

For example see the example below. Note that Line 3 is rendered in a larger font for no apparent reason other than it is large than line 1 and 2.  Same behaviour for divs, spans and paragraphs.

 

<table>

    <tr><td>

              <p>Line 1</p>
            12345678901234 12345678901234 12345
            12345678901234 12345678901234 12345
            12345678901234 12345678901234 12345
            12345678901234 12345678901234 12345         
      </td></tr>

             <tr><td>

             <p>Line 2</p>       
            12345678901234 12345678901234 12345
            12345678901234 12345678901234 12345
            12345678901234 12345678901234 12345
            12345678901234 12345678901234 12345
            12345678901234 12345678901234 12345
            </td>

</tr><tr>

            <td>

            <p>Line 3</p>       
            12345678901234 12345678901234 123456
            12345678901234 12345678901234 123456
            12345678901234 12345678901234 123456
            12345678901234 12345678901234 123456
            12345678901234 12345678901234 123456
            </td></tr></table>

 

example.png

Forums Veteran I
Posts: 1,877
Registered: ‎12-23-2013
My Device: Z30, Z10
My Carrier: Vodacom

Re: z10 - Issue with basic rendering of tables, divs. spans

Should be in Developer forum
itp
Contributor
Posts: 31
Registered: ‎10-01-2010
My Device: Blackberry Curve
My Carrier: Rogers

Re: z10 - Issue with basic rendering of tables, divs. spans

thank you...

 

 

moved here

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/inconsistent-rendering-of-text-i...

 

Although interested to know if Z10 users have had this problem and how they deal with it...

 

 

itp