Add button to right side of header
jquery-mobile
Solution
Use `class="ui-btn-right"` or add a class `ui-btn-right` in `<a>`
<div data-role="header" data-position="inline">
<h1>Resultaten</h1>
<a href="#Home" data-role="button" data-icon="home" data-iconshadow="false"
data-direction="reverse" onclick="empty()" data-transition="slide"
data-iconpos="notext" class="ui-btn-right">home</a>
</div>
Problem
I would like to add an icon button to the right side of my header in jQuery mobile. I'm having trouble with the automatic left positioning. Here's my header: ``` <div data-role="header" data-position="inline"> <h1>Resultaten</h1> <a href="#Home" data-role="button" data-icon="home" data-iconshadow="false" data-direction="reverse" onclick="empty()" data-transition="slide" data-iconpos="notext">home</a> </div> ```