<style>
.head
{
overflow:hidden;
width:70px;
height: 70px;
border: 1px #000 solid;
margin: 5px;
float: top;
position: relative;
}
.head img
{
position: absolute;
top: 0;
bottom: 2;
left: 0;
right: 0;
margin: auto;
}
</style>
<div class="head"><img src="/mnk_<?=$user['id']?>.png"/></div>
<!DOCTYPE html>
<html>
<head>
<title>My Website</title>
<meta charset="UTF-8" />
<style type="text/css">
.atlas
{
background-image: url(https://i.pinimg.com/originals/fa/fa/07/fafa07f9cafb332dda5c1f4c45aaff5a.png );
width: 32px;
height: 64px;
background-position: -194px -257px;
}
</style>
</head>
<body>
<div class="atlas"></div>
</body>
</html>