使用Phonegap的Android应用程序无法加载标题图片

时间:2014-09-01 14:05:46

标签: android jquery css cordova mobile

使用Phonegap制作Android应用程序。我想在标题中有一个图像。

为此,我使用CSS:

<style>
.center-wrapper span {
    vertical-align: bottom;
    line-height: 30px;
}
.center-wrapper img {
    vertical-align: bottom;
}
</style>

然后是标题代码:

<div data-role="page" id="pageone"   >

<header data-role="header" class="ui-bar">


   <div class="center-wrapper">
    <img width="35" height="35" alt="Header" 
         src="ikon.png" /> 
      <span>TITEL</span>

  </div>

它在IE和Chrome中运行良好,但图片无法在手机中加载。我在表格中添加的其他图像正确加载。对于可能出错的任何想法?¨

感谢。

0 个答案:

没有答案