Forum Moderators: not2easy

Message Too Old, No Replies

Broken link images not shown in firefox browsers

         

allwyn

5:40 am on Oct 8, 2007 (gmt 0)

10+ Year Member



In my site broken link images thumnails not display in firefox browsers. it is display well in ie browsers(red color cross symbol).
In my HTML document i am using XHTML - Transitional doctype.

how to display broken link image thumnail in my site? if anybody's know, pls help me.

penders

9:33 am on Oct 8, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



In my site broken link images thumnails not display in firefox browsers.

Well, that is really the way FF works (unfortunately?). It doesn't display a 'placeholder square' and a red cross as IE does, nor does it obey the WIDTH and HEIGHT attributes that might be set on the IMG element (IE does); if the image doesn't exist.

HOWEVER, the ALT text will be displayed and a background-color will also show if set. So, always important to use the ALT text! And you could set a red background such as:

img { 
background-color:#f00;
}