gnubler
27 Oct 2006, 12:18 AM
I'm using Firefox's web developer addon to play around with a page I'm developing. Initially, I had this file (print.html) just sitting on my desktop for easy access, as well as a directory called "images", to which I was linking images in my CSS and HTML. I since moved both the print.html file and the "images" directory to a sub-directory within my hard drive - both into the same subdirectory - but now the images just don't show up. When I hover over an image link and look at the status bar in my browser window, I see the path of the original location of these files (my desktop). But that's nowhere in the code - the link path is relative.
The image path in my HTML is like this:
<img src="images/print_c.jpg"
Am I missing something here? If both the HTML file and the images directory are within the same enclosing directory, shouldn't the path be relative like this?
Duh...
The image path in my HTML is like this:
<img src="images/print_c.jpg"
Am I missing something here? If both the HTML file and the images directory are within the same enclosing directory, shouldn't the path be relative like this?
Duh...