Solved

<img src="xxx"> not working =(  **HELP**

Posted on 2000-04-23
3
329 Views
Last Modified: 2010-04-09
Hello

BRIEF PROBLEM
^^^^^^^^^^^^^
any <img src> which has spaces in it, while viewing under NETSCAPE, doesn't work (ie. broken images). Under IE5 it works fine (images are shown).



PROBLEM EXPANDED (detailed explanation)
^^^^^^^^^^^^^^^^
  I've been programming my site under windows, and therefore been testing it under MS IE5.

Everything works fine.

When i went over to browser test it under NETSCAPE 4.05, i get various errors, mainly with JAVASCRIPT. But one error that has baffled me is this.

**  any <IMG SRC="xxx"> in netscape, where the 'xxx' has SPACES in it, returns a BROKEN IMAGE (ie. it cannot find the image). Under microsoft IE, the image is displayed.

The server is IIS5.0 where the asp pages are hosted.

Any clues why please?


-PK-
0
Comment
Question by:pure032398
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
enkidu earned 50 total points
ID: 2742938
To get them to work, replace all of the spaces with %20 but in general it is not a good idea to have spaces at all.
0
 
LVL 1

Author Comment

by:pure032398
ID: 2742961
yeah. i'm going to get some data entry person to fix that =)

THANKS!

-PK-
0
 
LVL 1

Expert Comment

by:enkidu
ID: 2744132
The joys of having underlings :-)
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now