Overcoming empty img tag in IE border

hey folks,
i got this img tag which on not having a image shows up empty. while it work fine in FF, in IE it shows border with a little cross on it. i take it as default IE showup of no image. i did try to class it for IE but it didn’t work. is there another work around for it?

<img width="200" height="200"/>

That is the default behaviour of M$IE. Obviously you should provide an ALT attribute text if the image is of any importance.

<img src=“example.png” width=“200” height=“200” alt=“I’m an Image” />

If you get a link to a ‘broken image’ then it is a fault with your web page so the browser is informing you of this fault.

Why not use a real image that is very small - say 1px square and the colour of the background. This can be the default when you don’t want to nominate a valid src.

Ugh, AllanP, just don’t reintroduce the spacer.gif. :smiley: