I need a button on the right - aligned in the middle of a <ul data-role="listview" />
element.
Here is the HTML I am using that does this the best that I can think of, but it's not exactly a split button and it's not even aligned in the middle of the content...
<ul data-role="listview" data-theme="d" data-divider-theme="d">
<li>
<h3>New York Group Applies for CDFI Status</h3>
<p>The New York Business Development Corp. is <a target="_blank" href="http://www.bizjournals.com/albany/news/2013/09/05/nybdc-doubling-albany-office-space.html">doubling its office space</a> in downtown Albany.</p>
<p class="ui-li-aside read_more"><a href="#" data-role="button" data-transition="slide" data-mini="true" data-icon="arrow-r" data-theme="d" data-shadow="false" data-inline="true" data-iconpos="notext" class="ui-btn-right">Read More</a></p>
</li>
</ul>
So, the problem here is I kinda would like it to be displayed in the same way as the Split Button approach, however, if I try to use this, it ruins the look of it, because I do not have the first <a>
tag wrapping up the <h3>
, and first <p>
element. And Also because I have tags defined within the body copy of the <p>
elements.
Here is a jsfiddle of what I have so far: http://jsfiddle.net/MY8Tg/
How can I make this a split button while maintaining the structure of the left side and not making the left side an actual link to anything, thus keeping the other links working properly??
And I need this to be middle aligned exactly like the Split button. Why isn't this possible right out of the box??
Surround the left and right sections with divs and and give the right div a class of ui-li-link-alt: