put the inline style on the anchor since the one of the image is
replaced