解决html 图片img加超链接后产生难看的蓝色边框问题_HTML/Xhtml_网页制作

php.cn
Release: 2016-05-16 16:39:32
original
1573 people have browsed it

html img加了超链接之后产生难看的蓝色边框

如下:

解决办法:
CSS样式表中增加样式:

复制代码
代码如下:

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 [email protected]
Popular Tutorials
More>
Latest downloads
More>
web effects
Website source code
Website materials
Front end template
About us Disclaimer Sitemap
PHP Chinese website:Public welfare online PHP training,Help PHP learners grow quickly!