img { width: 160px; height: 100px; border: 3px solid rgb(128,128,128); position: absolute; } a { position: fixed; top: 5px; } .pos1 { left: 5px; } .pos2 { left: 50px; } .icon { width: 40px; height: 40px; border: 2px solid black; }