我想用一些文字将图片居中放在下面。当我用铬显示时,工作正常。它也适用于使用Opera Mobile的模拟器。但是当我用html/css文件创建我的phonegap应用程序时,图像在Android中运行时拒绝居中。css居中在Phonegap中不起作用
这里是我的CSS:
.centered {
width: 100%;
height: auto;
position: fixed;
top: 20%;
text-align:center;
}
任何想法?
感谢