Reputation: 109
Argh, one of these that is doing my head in.
Three buttons supposed to be inline, code looks good but I can't get them not to be on a line each... anyone figure it out?
JQuery Mobile 1.1.0.
Thanks as always!
Upvotes: 1
Views: 1845
Reputation: 5253
Ditch the listview.
<div data-role='controlgroup' data-type="horizontal">
<a href='?page=tickets&igstatus=0' data-role='button' data-transition='fade'>New</a>
<a href='?page=tickets&igstatus=1' data-role='button' data-transition='fade' class='ui-btn-active'>Pending</a>
<a href='?page=tickets&igstatus=2' data-role='button' data-transition='fade'>Closed</a>
</div>
Upvotes: 3