PDA

View Full Version : Saving the files


coldwetnoz
01-06-2010, 05:44 PM
Where is the best place on my hard drive to save my Website HTML files to keep this from happening to all my images in the code? :confused:

src="C:/Documents and Settings/User/My Documents/My Web Sites/BESTADDRESS WEB/titlejpg.jpg"
Thanks,
coldwetnoz

oracleguy
01-06-2010, 06:34 PM
That is an issue with whatever program you are using to make your web pages, not an issue of where you are saving it.

coldwetnoz
01-07-2010, 12:34 AM
Okay, I figured this one out..another no-brainer for me.

As long as all my web files are in the same folder, including the HTML file, I can use just the actual file name. So I just took all the other folder names out! :thumbsup:

mlseim
01-07-2010, 01:11 AM
But here's another thought for you ...

It's hard to organize your website if all your graphics and photos are in the main directory, so do this.

Create a sub-directory called "images" and put your images into that.

You can then reference them like:
<img src="images/mytitle.jpg">

It will work correctly on your PC as well as on your website as
long as "images" is a sub-directory of your main directory.
It's called "relative references" as opposed to "absolute references".