Home > Web Front-end > HTML Tutorial > Image display problem_html/css_WEB-ITnose

Image display problem_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:09:00
Original
1286 people have browsed it

An image contained in a public webpage header file,
displays fine on some pages,
but on some pages the image is displayed, but a red cross appears on the image, that is There is a red cross when the picture cannot be found,
and when normal pictures are displayed and abnormal pages are displayed, they are in the same folder.
Very confused.
Could you guys remind me,
what causes the red cross to appear on the picture.
Not only shows the picture, but also shows when the cross will occur.
PS: The problem only occurs in browsers with ien kernel, ie, 360, Sogou


Reply to discussion (solution)

Access path They are different

Check if the paths are the same. . ?

Some pages can be accessed,
Found a new problem,
Changed the picture,
OK,
Confused,
Out The picture in question is a .png picture,
has a transparent background,
could it be due to incompatible image types? ?

If the pictures are incompatible,
then they are the same picture,
Some pages are fine,
and even pages in the same folder will fail. What's the problem? ?

This is unclear

Is there another red cross on the already displayed picture? ?
Why doesn’t it sound like there is only one picture? .

Access the image path directly on the browser and see if the image can be displayed. Then you will know whether it is the path or the image itself (try with different images)

Encountered This problem depends on the path

Maybe it is caused by ie6 not supporting translucent png. Write a filter and try it.

Browser issue. . Some browsers do not support certain images

Yes, one is a path problem, and the other is an IE6 problem, LZ will test it carefully

Agree with the advice of the experts on the second and third floors, check the path

Don’t think too much about the path when the red cross is displayed

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