<!DOCTYPE html> <body> <div style="position:relative"> <div style="float:right; height: 10px"></div> <div style="clear:right"></div> <div style="position:absolute; top:4em; right:0; background:green; width: 100px; height: 100px"></div> </div> </body>