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

Web and WebWorks Development

Reply
New Developer
Posts: 59
Registered: ‎10-21-2008
My Device: Not Specified

Site developed using php

Hi BB experts,

I have a site which is developed using php. When I open it in BB browser, the screens are minimized to very small size and the contents are not readable.

How can I eliminate this problem and display it normally, in a BB browser?

 

Please help. I am a newbie in BB development.

Any help will be well appreciated.

 

Regards,

Anees

Guru I
Posts: 19,020
Registered: ‎07-29-2008
My Device: Passport, Playbook, 9320BES
My Carrier: Bouygues _ SFR

Re: Site developed using php

This has nothing to do with PHP. When you do PHP, the server yields an HTML webpage (can be coupled to javascript scripts). Take that HTML output and see what forces the screen to render tiny.

in particular, you should remove any width attribute or dimensioning in tables. If you publish the static HTML webpage somewhere, we can help.



The search box on top-right of this page is your true friend, and the public Knowledge Base too:
New Developer
Posts: 59
Registered: ‎10-21-2008
My Device: Not Specified

Re: Site developed using php

Hi,

This is the page.

 

http://reubro.com/temp/streetcorner/siteadmin/login.php

 

Please help.

Developer
Posts: 107
Registered: ‎09-25-2008
My Device: Not Specified

Re: Site developed using php

Your page has a table that is forced to being 900 pixels wide. This means the BB browser will display it that wide, and then scale it down so that it fits on the screen.
Guru I
Posts: 19,020
Registered: ‎07-29-2008
My Device: Passport, Playbook, 9320BES
My Carrier: Bouygues _ SFR

Re: Site developed using php

on your webpage, you have many tables.
those tables are sized by you using the width and height attributes. meaning 800px for example. It is not good because your device will take that size and resize it to the size of your screen, making everything inside that table even smaller in a proportional way.

=> don't give sizes to your boxes.



The search box on top-right of this page is your true friend, and the public Knowledge Base too: