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
Contributor
Posts: 34
Registered: ‎05-28-2011
My Device: Blackberry Playbook
My Carrier: O2

Webworks compiled application displays differently in BB browser

I have some dialogs which are made using DIVs and CSS positioning. These appear correctly in the standard blackberry browser but incorrectly when compiled as a Webworks application. Does anyone have an explanation for this? Has anyone seen this before? Thanks.

Developer
Posts: 435
Registered: ‎09-20-2011
My Device: Z10 LE, Playbook, DevAlpha C, 9900, 9380
My Carrier: Vodafone

Re: Webworks compiled application displays differently in BB browser

Hi......

Just add the following tag at the head of html.

<meta name="viewport" content="height=device-height,width=device-width,user-scalable=no,target-densitydpi=device-dpi,initial-scale=1.0" />