Home >Web Front-end >HTML Tutorial >Solve the problem of ugly blue border after adding hyperlink to html image img_HTML/Xhtml_Web page production

Solve the problem of ugly blue border after adding hyperlink to html image img_HTML/Xhtml_Web page production

WBOY
WBOYOriginal
2016-05-16 16:39:321726browse

HTML img produces an ugly blue border after adding a hyperlink

As follows:

Solution:
Add style in CSS style sheet:

Copy code
The code is as follows:

img {
border:0;
margin:0;
padding:0;
}

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn