css - img tag has border
PHP中文网
PHP中文网 2017-06-12 09:24:40
0
3
984

How can I remove the border from the img tag?

<img src="">

I didn’t use the image path
There will be a border after putting it on the web page
But I can’t eliminate it by using border:0....

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(3)
typecho

First, simply confirm whether the lower border comes from the style (usually thicker) or from the browser (usually thinner); if it is a custom style, adjust the style to exclude the img tag; if it comes from the browser , you can try to use border: 0; outline: 0; to adjust.

为情所困

border: 0; outline: 0;

左手右手慢动作

Is it a browser problem?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template