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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-05-16 16:39:32
Original
1756 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:
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
Latest Issues
img tag
From 1970-01-01 08:00:00
0
0
0
js find child node img and change src
From 1970-01-01 08:00:00
0
0
0
css - img tag has border
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template