joh*_*ohn 5 css jquery jquery-mobile
在Jquery mobile,我可以分组水平按钮,但他们组不宽100%.
我尝试添加一个设置width:100%但不起作用的类.
我该怎么做?
谢谢!
更新+可能的修复:它似乎失败了,因为我width="50%"在两个按钮中明确使用.我做了45%和合适.按钮可能有些边缘?
应用修复程序的源代码: http://pastebin.com/ZXDNfAU1
<div class="ui-grid-a">
<div class="ui-block-a"><button type="submit" data-theme="c">Cancel</button></div>
<div class="ui-block-b"><button type="submit" data-theme="b">Submit</button></div>
</div>
Run Code Online (Sandbox Code Playgroud)
如果它不在页脚或标题元素中,则上面将执行此操作.这里有两个列网格:http: //view.jquerymobile.com/master/demos/grids-buttons/
我不知道如何在页脚内完成它