I have a page that needs to be in a new folder within the current sites directory. At first none of the links or images would show up until i put ../ infront of them all. Can someone explain to me how the ../ works and does the number of .. mean anything, thanks
Do you really need those dots? I don't even use them on my site, and my images appear ok with only the "/".
Yes as Indian_Webmaster has said, the double dots "../" are needed to move up one directory. Just a slash "/" would mean to look for a child directory inside the current one.. To move up two directories would be like ../../directory Boulder
If your images show up fine without the dots, then don't use them. The dots stand for current directory (or one below/further if you use ../../image.gif). If you only use / then that means your images are exactly the same folder/directory as your html and css. If my site, www.foo.com is directly on my server (/website/foo.html) and the images for the foo site are direct (/image.gif, /freebeer.jpg) then only slashes are needed. But let's say foo is at /website/foo.html and the images are in the main folder/dircetory. Then the dots come in. directory: / (r00t) /website/foo.html /freebeer.jpg /freespeech.jpg Now, you need the whole path. You can either use "http://www.foo.com/freebeer.jpg" OR you can replace the main foo folder with "../freebeer.jpg" the dots meaning in this case "don't stay in /website where foo is, but go back to the main part."