>When I open up the homepage on my system, nearly every image is broken.
>Almost all the paths in the code seem wrong to me. That is, the referring
>path defined in the code to the images directory, which is one level below
>the homepage file, is preceded by a slash, like this:
>
>="/images/hbmbackground.gif"
>
> instead of
>
>="images/hbmbackground.gif"
>
> so the image breaks in my browser. But when I view it online, the image is
>displayed. I would greatly appreciate it if someone could explain what is
>going on here: I had always thought that if a path was defined with a / in
>front of the directory and file name, that meant that the directory was
>_above_ the page.

No. It means its a top level directory. Webmasters can configure web
servers to understand different top level directories. It sounds like the
server you are dealing with has been configured to understand /images as a
top level directory.

To refer to a directory that is *above" another directory, you would use
../ not /dir.

You don't say what kind of web server it is, but check the configurations
to resolve the mystery.

Kayla

============================================================
Kayla Block                                     650.526.6103
Engineer                                [EMAIL PROTECTED]
============================================================
____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to