<!DOCTYPE html>
<style>
div {
position: absolute;
width: 100px;
height: 100px;
border: 3px solid black;
right: 0;
}
</style>
<body>
<div></div>
</body>
<!DOCTYPE html>
<style>
div {
position: absolute;
width: 100px;
height: 100px;
border: 3px solid black;
right: 0;
}
</style>
<body>
<div></div>
</body>