I am having trouble setting different background images for each page in jQuery Mobile.
<div data-role="page" id="pageone">...
</div>
<div data-role="page" id="pagetwo">...
</div>
Since each page has a unique ID, I tried to assign a background image for each ID accordingly.
#pageone {background: transparent url(URL) repeat center center !important;}
#pagetwo {background: transparent url(URL) repeat center center !important;}
The image I am using is a small 7x10 pixel pattern. However, I have encountered an issue where the image appears outside the page div initially but then disappears.
Has anyone experienced a similar problem and knows how to resolve it?
Thank you in advance :)