Jamie Abbott
Jamie Abbott

Reputation: 109

Jquery Mobile horizontal buttons

Argh, one of these that is doing my head in.

http://jsfiddle.net/jmHTc/41/

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

Answers (1)

codaniel
codaniel

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

Related Questions