I have the following to display a list of items and a button underneath the list. However the button is overlapping on top of the list. I must be not putting some kind of data-role or another one of their attributes on it.
<div data-role="content" data-theme="b">
<div>
<ul id="listOfSheets" data-role="listview" >
<li class="hidden"> <a href="_linkToSheet" data-ajax="false"> _sheetName</a></li>
</ul>
</div>
<input id="logout" type="button" value="Sign Out" />
</div><!-- /content -->
Here is what it looks like:
Live Example:
You're missing one of the attributes for the listview
data-inset="true"
HTML
<div data-role="content" data-theme="b">
<div>
<ul id="listOfSheets" data-role="listview" data-inset="true">
<li class="hidden"><a href="#" data-ajax="false">Link 1</a></li>
<li class="hidden"><a href="#" data-ajax="false">Link 2</a></li>
<li class="hidden"><a href="#" data-ajax="false">Link 3</a></li>
</ul>
</div>
<input id="logout" type="button" value="Sign Out" />
</div><!-- /content -->
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With