move div to right with margin code example
Example 1: how to shift div to right
<div style="float:left;">
Example 2: div shift right
<div style="position:absolute; right:10;">Hello world</div>
<div style="float:left;">
<div style="position:absolute; right:10;">Hello world</div>