via Internet Archive Wayback Machine) 7.6. How do I eliminate the blue border around linked images?
… Or in your CSS, you can specify the border property for linked images: a img { border: none ; } However, note that removing the border that indicates an image is a link makes it harder for users to distinguish quickly and easily which images on a web page are clickable. 7.7. Why am I getting a colored whisker to the left or right of my image? This is the result of including “white space” (spaces and newlines) before or after an IMG inside an anchor. For example: may have white space to the left and right of the image. Since many browsers display anchors with colored underscores by default, they will show the spaces to the left and right of the image with colored underscores. Solution: don’t leave any white space between the anchor tags and the IMG tag. If the line gets too long, break it inside the tag rather than outside it, like this: Style checkers such as Weblint will call attention to this problem in your HTML source. 7.8. How do I eliminate the space around/between my images?