Forum Moderators: not2easy

Message Too Old, No Replies

Spacer Graphics Don't Load Initially

         

jk3210

7:23 pm on May 27, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Why is it that spacer graphics (1X1 gifs, etc) sometimes don't load when a page is initially loaded, but load fine once you hit "refresh?"

normaldude

7:41 pm on May 27, 2004 (gmt 0)

10+ Year Member



fyi: You don't need spacer gifs. You don't need to actually specify a src.

Example, this will work fine:

<img width=1 height=1 border=0>

That will work in all browsers.. IE, Mozilla, Safari, Opera, whatever. Even old browsers like Netscape 3.0.

jk3210

7:50 pm on May 27, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You mean with no actual graphic file specified?

normaldude

7:54 pm on May 27, 2004 (gmt 0)

10+ Year Member



You mean with no actual graphic file specified?

Yes. Like..

<img width=1 height=1 border=0>

or if you wanted a 100 pixel width..

<img width=100 height=1 border=0>

You don't need a "src".

john_k

4:46 pm on May 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



In answer to your original question, it is an IE bug (or feature). It is worth mentioning (even in light of the above solution) because you will see the same behavior with other small images.