开发者

background Images

I am developing app using the jquerymobile framework. I have to set the background image in my all the screen. But the image size is differ from mobile to mobile. I have image based on the iphone screen size.

how to set the width and height of the images ,controls based on the browsers resoultion ? how to detect the screen resolution of the browser at run time?

I tried to the but that also did not work. I dont want to use repeat attribute Please h开发者_如何学运维elp me..

Please refer the attachment.

THanks in advance

background Images

background Images

background Images

background Images


-webkit-background-size: 100% auto;

should do the trick

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜