how to position a background for a big image which is centered at the center of the page?
问题 I have a image with dimension with dimensions 2350*180 . I am working on Phone gap. So,I need to give the code in a generic format so that it is applicable to any device. Now, I have a background image for that big image. style="background:url("img/bg.png") no-repeat fixed center top; width:100%; height:100%; " this code works for few only.. Is there any mistake in my code? another question , is when I scroll there is scroll bar thats visible. SO I added style="overflow:hidden;" <img src=""/>