Centering data-icon in button
So I created my own list items with two split buttons with the following code:
- <ul data-role="listview" style="padding:0; margin: 0;">
- <div data-role="controlgroup" data-type="horizontal" style="padding:0; margin: 0;">
- <div style="margin-right: 84px;">
- <a href="index.html" class="ui-corner-tl-only" data-role="button" data-icon="arrow-r"
- data-iconpos="right" style="width: 100%">Search #1</a>
- </div>
- <a href="index.html" class="ui-corner-none" data-role="button" data-icon="gear"
- data-iconpos="notext" style="width: 40px">Edit</a>
- <a href="index.html" class="ui-corner-tr-only" data-role="button" data-icon="delete"
- data-iconpos="notext" style="width: 40px">Delete</a>
- </div>
- <div data-role="controlgroup" data-type="horizontal" style="padding:0; margin: 0;">
- <div style="margin-right: 84px;">
- <a href="index.html" class="ui-corner-bl-only" data-role="button" data-icon="arrow-r"
- data-iconpos="right" style="width: 100%">Saved Search #2</a>
- </div>
- <a href="index.html" class="ui-corner-none" data-role="button" data-icon="gear"
- data-iconpos="notext" style="width: 40px">Down</a>
- <a href="index.html" class="ui-corner-br-only" data-role="button" data-icon="delete"
- data-iconpos="notext" style="width: 40px">Delete</a>
- </div>
- </ul>
Here is what this looks like:
Now, my question is how do I center the the delete and gear data-icons using css?
Thanks in advance for any help!