Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

910 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

19 Experts available now in Live!

Get 1:1 Help Now