<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
#shiftMe { | |
position: relative; | |
left: -20px; | |
} | |
.container { | |
overflow: hidden; | |
} | |
.imgContainer { | |
position: relative; | |
float: left; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="container"> | |
<div id="shiftMe"> | |
<div class="imgContainer"> | |
<img src="../resources/apple.jpg"> | |
</div> | |
</div> | |
</div> | |
</body> | |
</html> |