且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将水平控件组放在页脚中-在jqm 1.1.1中进行了更改?

更新时间:2023-12-01 12:06:28

data-role ="controlgroup" div的 align ="center" 属性可能是合适的为此.

Probably align="center" attribute of data-role="controlgroup" div could be suitable for that.

<div data-theme="a" data-role="footer" align="center">
   <div data-role="controlgroup" data-type="horizontal" data-mini="true">
      <a href="foo" data-role="button">link1</a>
      <a href="boo" data-role="button">link2</a>
   </div>
   <div class="copy">&copy; 2012 bigco</div>
</div>

http://jsfiddle.net/sGFTy/1/