I spent hours to find the solutions, but I can't.
I have simple apps, with jQuery mobile + Phonegap, I want to put a background image in CONTENT section,
This is my code.
html, body {
height: 100%;
}
#mainn {
height: 100%;
}
#mainn .ui-header {
height: 40px;
}
#ctn {//CONTENT Style
background:url(backimage.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
min-witdh:100%;
min-height:100%;
}
<div data-role="page" id="mainn" data-position="fixed">
<div data-role="header" data-tap-toggle="false" data-theme='b'>
<a href='#sidebar' data-role="none" id="a-sidebar"><img src="images/menu-icon.png" alt="sidebar" id="header-menu-icon" /></a>
<h1 class="header-title">My Aps</h1>
</div>
<div data-role="content" id="ctn">
content
</div>
<div data-role="footer" data-position="fixed" ></div>
</div>