Anchors an HTML element to a background image