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
Anzy
Posts: 36
Registered: ‎06-15-2011
My Device: 8900
My Carrier: Airtel

Delay : For running CSS script on BB OS 7.0

Hello everybody ,

                  can any one tell me that why delay happen when I run this script on BB 7.0 OS , on BB 5.0 it works fine

 

My code is

BrowserField myBrowserField;
            

            myBrowserField = new BrowserField();
            add(myBrowserField);
            String content ="<html><head><style type='text/css'> p{color: blue;line-height:200%;}</style></head><body>"+
            "<p>Inspired by one of the most opulent among gems,Amber is our multi-tier Loyalty Programme</p>"+
            "<p align=justify>The Amber stone is associated with the fire element,Which is known to draw people,with itswarmth and radiance,while infusing a unique sense of loyalty into whatever it comes in contact with </p>"+
            "<p align=justify>This Programme is an example of our steadFast</p>"
            ;
            myBrowserField.displayContent(content,"");//"http://localhost"

 


Please use plain text.