[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Missing background

Posted on 1999-12-15
2
Medium Priority
?
174 Views
Last Modified: 2013-12-25
I have the following page:

<html>

<head>
<title>New Page 1</title>
</head>

<body background="WB00486_.gif" bgproperties="fixed">

<p>TEXT</p>
</body>
</html>

When I open this page by IE the background is there, but when CGI sends it the background gets missing. Why?

The CGI runs on Windows NT under PWS and what it does is opens the htm file, reads it and issues putchar() for every read character.
0
Comment
Question by:alex1234
2 Comments
 
LVL 8

Accepted Solution

by:
jhurst earned 200 total points
ID: 2284632
WB00466_.gif is assumed to be in the same directory/location as the page since you have specified no modifier on the address.  Your script is probably operating from cgi-bin/yourscript.cgi, therefore the browser is going to request the background from cgi-bin as well.  

You need either to change to correct paths, move the background, or set a <base tag in your page so that the browser requests the background from the required location.
0
 
LVL 1

Author Comment

by:alex1234
ID: 2286891
Thanks, jhurst!

I did as you said and it worked. However, now the background appears even if I remove WB00466_.gif from cgi-bin directory. It looks like the browser keeps the image somewere in a cache. Is there a way to tell IE not to do this?
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
Suggested Courses

591 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