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 Contributor
raphael_witbe
Posts: 2
Registered: ‎05-04-2010
My Device: Storm 9500

background, css and cache

Hi,

 

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)

or

- 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 ?

Retired
tneil
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.

 

http://supportforums.blackberry.com/t5/Web-Development/Tips-Quirks-and-Solutions/td-p/470870

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