<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <style> html, body { margin: 0; } #destination { width: 100px; height: 100px; background-color: red; } #destination img{ position: absolute; top: 50px; left: 50px; width: 16px; height: 16px; } </style> <body> <div id="destination"> <img src="../2x2.png" /> </div> </body> </html>