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

New Contributor
Posts: 2
Registered: ‎05-04-2010
My Device: Storm 9500
My Carrier: Developper

background, css and cache



I'm developping a html page in order to get view with the BB Browser, it's a Storm 9500.

I tryed to set a background on my div with a background css propertie and it works only one time, if I come back on my html page the background isn't display anymore.


I found two ways to avoid this problem :

- using an img html markup (without css)


- clear the cache before refreshing the page


Does anyone got an issue that allow me to use css without having to clear the cache on each refresh ?

Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: background, css and cache

Hi there,


Are you repeating the background image on the <div>?  


I would suggest checking out the first post in the Tips & Tricks sticky.  I remember there being an issue around background images that are repeated and visibility that has a work around.



Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter