Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

772 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