HTML question

jamesave

Golden Member
Aug 27, 2000
1,610
0
76
an automated system generated files with a '#' character. It seems like html cannot generate file if there is '#' character. is it true?
I have <img src = "http://localhost/1.gif"> runs okay, but <img src = "http://localhost/1#.gif"> not okay even though both files exist. Is there any syntax in html that i need to fix?
 

Beau

Lifer
Jun 25, 2001
17,730
0
76
www.beauscott.com
# indicates that there's a named anchor somewhere in the page and could be screwing up the browser's addressing. Replace all the # in the src="" attributes with %23.

Example:
<img src="http://localhost/1#.gif"> becomes <img src="http://localhost/1%23.gif">