[thelist] Image Empty Reference

Adrian Gonzales adrian at clearspanmedia.com
Mon May 10 14:28:46 CDT 2004


<snip>
The reason I want such a strange markup is because depending on other 
aspects of the page, the src attribute will be assigned by Javascript. 
When the page loads, however, the above code will generate a 404 error 
on the server.
</snip>


It generates a 404 because the browser is using it like it's a relative
url. Just like if you use a blank action attribute in a <form> tag, it
sends the form to the current page. I agree with bob, just use a clear
gif, it's the best solution.


Adrian Gonzales Jr.
Creative Director
Clear Span Media
713.310.7990
clearspanmedia.com



More information about the thelist mailing list