We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

How i show cross image like crome and ie in my firefox when image not show

more options

if some image not show in my web page crome and ie show cross icon there how can i use that in my firefox

if some image not show in my web page crome and ie show cross icon there how can i use that in my firefox

Tất cả các câu trả lời (3)

more options

<img src="../images/dragonfly.gif" alt="[dragonfly missing]" title="Dragonfly art by ideveloper">

alt is used if the image is not found.

title is what shows when you move cursor over the image.\


Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.

Được chỉnh sửa bởi David McRitchie vào

more options

thanks but when we not provie alt and title to a image

more options

My reply to your other post was lost when that thread was locked. (Insert sad face here.)

If your page is rendering in Quirks mode, then Firefox will display a placeholder. It does not natively do that in Standards mode, but you can force it with a user style (see, e.g., the July 19th reply in this thread: base64 - CSS transparent background image using "data:" - Stack Overflow).

Or, if you want to use a script solution (e.g., Greasemonkey userscript), you can identify the missing images with this:


var missingimgs=document.querySelectorAll("img:-moz-broken");

Or maybe there's an add-on??