move div element to right css code example
Example 1: how to move anything left in css
<html>
<head>
</head>
<body>
<div style = "position:relative; left:80px; top:2px; background-color:yellow;">
This div has relative positioning.
</div>
</body>
</html>
Example 2: how to shift div to right
<div style="float:left;">
Example 3: div shift right
<div style="position:absolute; right:10;">Hello world</div>