Setting styles for anchor properties for images