Im making a mobile website with jQuery Mobile, HTML and CSS and Im trying to add a bakground image. On my computer I can see it, its fully visible and reacting when Im making changes but when I test it on my iPhone there is no image. I cant see it. I know the phone is fully connected and all because text and other things I can change. Anyone know how to solve this? This is the CSS-code:
我正在制作一个带有jQuery Mobile,HTML和CSS的移动网站,我试图添加一个bakground图像。在我的计算机上,我可以看到它,当我进行更改时它完全可见并作出反应但是当我在iPhone上测试它时没有图像。我看不到它。我知道手机是完全连接的,因为我可以改变文字和其他东西。有谁知道如何解决这个问题?这是CSS代码:
body { background: transparent url(Images/phoneWallpaper.jpg) 0 0 no-repeat fixed !important; background-size: cover; background-repeat: no-repeat; background-position:center center; background-attachment:scroll; } .ui-page { background: transparent; } .ui-content{ background: transparent; }