<div style="position: relative; height: 0px; width: 0px;"> <div style="position: absolute; width: 10px; height: 10px; top: 100px; left: 0px; background-color: red;"></div> </div>