<div style="position: relative; left: 0; top: 0;"> <img src="a.jpg" style="position: relative; top: 0; left: 0;" /> <img src="b.jpg" style="position: absolute; top: 30px; left: 70px; "/> </div>