Home >Web Front-end >HTML Tutorial >The image does not exist under firefox_html/css_WEB-ITnose

The image does not exist under firefox_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:23:44944browse

How to display a small picture when the picture is inaccessible or does not exist, like what kind of small icon is used in IE and Chrome?


Reply to discussion (solution)

img {  -moz-force-broken-image-icon: 1;}


Reference address https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-force-broken-image-icon?redirectlocale=en-US&redirectslug=CSS/-moz-force -broken-image-icon

Got it, finally got it. Thanks to the street vendor

img {  -moz-force-broken-image-icon: 1;}


Reference address https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-force-broken-image-icon ?redirectlocale=en-US&redirectslug=CSS/-moz-force-broken-image-icon is so efficient!

Statement:
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