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
Release: 2016-05-16 16:39:32
Original
1726 people have browsed it

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;
}

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template