Android JQueryMobile中的图像
我希望在JQM页面中有两列布局。第一列是图像,第二列是一些文本Android JQueryMobile中的图像,android,css,jquery-mobile,android-webview,Android,Css,Jquery Mobile,Android Webview,我希望在JQM页面中有两列布局。第一列是图像,第二列是一些文本 <div data-role="content"> <div class="ui-grid-a"> <img class="ui-block-a" src="/image/no-picture.jpg"/> <div class="ui-block-b"> <h1>Some Text Here</h1&g
<div data-role="content">
<div class="ui-grid-a">
<img class="ui-block-a" src="/image/no-picture.jpg"/>
<div class="ui-block-b">
<h1>Some Text Here</h1>
</div>
</div>
</div>
这里有一些文字
我试图设置max width
,它在浏览器中工作,但在android webview
中不工作。最好的方法是什么
谢谢就是一个很好的例子。我已经在星系S3和R上测试过了。4.1
<div class="ui-grid-a">
<div class="ui-block-a">
<img src="http://www.index.hr/thumbnail.ashx?path=images2/europskimljekari_AFP26112012.jpg&width=325&height=197"/>
</div>
<div class="ui-block-b">
<h1>Some Text Here</h1>
</div>
</div>
这里有一些文字
如果你还需要其他东西,请给我一个评论。另外,别忘了在标题中使用:
<meta content="width=device-width, minimum-scale=1, maximum-scale=2" name="viewport">
你可以找到所有的数据
http://operationmobile.com/dont-forget-to-call-refresh-when-adding-items-to-your-jquery-mobile-list/
同时检查上述链接是否也正常
http://operationmobile.com/dont-forget-to-call-refresh-when-adding-items-to-your-jquery-mobile-list/