css - Background fixed phonegap -
i have problem background on phonegap
i'm using jquery mobile
this css code witch generate background
html, body { top: 0px; left: 0px; height: 100%; width: 100%; } .ui-page{ top: 0px; left: 0px; background: url('../img/bg.jpg') 0 0 no-repeat fixed !important; background-size: auto 100%; height: 100%; width: 100%; font-family: manksans; background-position:fixed; background-color:#102a3e; }
when scroll in page background stay @ top , part background isn't fetch stay white , can't understand why
thanks help
remove !important
style. overrides background-color
. use
.ui-page { background: #102a3e url('../img/bg.jpg') 0 0 no-repeat fixed; }
Comments
Post a Comment