Solved

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

Posted on 2000-04-23
3
333 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article discusses four methods for overlaying images in a container on a web page
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

809 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