Barry... this is actually how I structure ALL of my pages. On my sites, there
is an image directory within the sites main directory...so all of the images
have to be refered to as is the structure of the main directory.. am I making
sense?
For example: I have a site called Love Letters inside my domain,
silverstardesigns.com
So, inside the site which is my domian is a directory called "loveletters" and
then inside of that is a directory called "images". Since you have to go in a
level to get to the images you have to have that / there... I actually use
./images/imagename to use any images, but I am not positive I need the . there
or not....
Anyhooo... hope this helped.
Anna
Barry Lee Brisco wrote:
> I have a new web client, I'm taking over running their site, which is only
> a few months old. I'vve just downloaded the html and image files to my
> local drive.
>
> I wasn't expecting any problem, as before bidding on the job I had glanced
> at the source and it looked pretty clean. But now that I've downloaded the
> files to my local drive, I find something very peculiar.
>
> 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.
>
> What is odd is that some of the images show up even though their path is
> preceded by a / It even varies depending on whether I view the html file
> on a Mac or a PC.
>
> The situation is the same with the site's internal links to various pages;
> the are all preceded by a / and they don't work locally.
>
> Apparently this is okay on a UNX server? But the client has been editing
> and revising the site locally on PCs, how are they doing that?
>
> Barry
> --
> Barry Lee Brisco <mailto:[EMAIL PROTECTED]>
> Web Design & Development - Online Marketing <http://www.ToTheWeb.com>
> Connecting Businesswomen in Asia <http://www.women-connect-asia.com>
> The Pan-Asian Online Underwater Magazine <http://www.asiandiver.com>
> ____________________________________________________________________
> --------------------------------------------------------------------
> 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.
> ---------------------------------------------------------------------
____________________________________________________________________
--------------------------------------------------------------------
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.
---------------------------------------------------------------------