<!DOCTYPE HTML> <html class="reftest-paged"> <head> <style> body { margin:0; } .pos { position:absolute; width:100px; height:100px; } </style> </head> <body> <div class="pos" style="top:0; left:60px; border:10px solid yellow;"></div> <div class="pos" style="right:0; top:60px; border:10px solid orange;"></div> <div class="pos" style="bottom:0; left:60px; border:10px solid brown;"></div> <div class="pos" style="left:0; top:60px; border:10px solid pink;"></div> <div style="margin:10px; border:20px solid black; padding:30px;"></div> </div> </body> </html>