Solution to the ugly blue border produced after adding hyperlink to html image img

高洛峰
Release: 2017-03-08 15:39:36
Original
2420 people have browsed it

html img produces an ugly blue border after adding a hyperlink

As follows:
Solution to the ugly blue border produced after adding hyperlink to html image img
Solution:
Add a style to the CSS style sheet:

The code is as follows:

img {
border:0;
margin:0;
padding:0;
}
Copy after login


Solution to the ugly blue border produced after adding hyperlink to html image img

The above is the detailed content of Solution to the ugly blue border produced after adding hyperlink to html image img. For more information, please follow other related articles on the PHP Chinese website!

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