When doing something like this:
Left Div
Right Div
you could use things like display: inline-block
but I think you would need to set up another div to move it over, if there is nothing going to the left of the button you could use margins to move it into place.
Alternatively but not a good solution, you could position tags; put the encompassing div as position: relative
and then the div of the button as position: absolute; right: 0
, but like I said this is probably not the best solution
HTML
Left Div
Right Div
CSS
.parent {
position: relative;
}
.right {
position: absolute;
right: 0;
}