我在页面中有一些 html。在页脚上,我希望 Today 和 Refresh 按钮与控件组位于同一行,按钮左右对齐,控件组居中。有没有什么简单的方法可以用 jQuery Mobile 做到这一点?
<div data-role="page" id="display_appointments">
<div data-theme="a" data-role="header">
<a href="#" data-icon="delete">Menu</a>
<h3>
Appointments
</h3>
<a href="#" data-icon="delete">Add</a>
</div>
<div data-role="content">
Appointments here
</div>
<div data-theme="a" data-role="footer" data-position="fixed">
<a href="#display_appointments" data-role="button">Today</a>
<div data-role="controlgroup" data-type="horizontal">
<a href="#display_appointments" data-role="button">Day</a>
<a href="#display_appointments_list" data-role="button">List</a>
<a href="#display_appointments_month" data-role="button">Month</a>
</div>
<a href="#display_appointments" data-role="button">Refresh</a>
</div>
</div>