add base style to link and image