Re: [NTB] trouble with file path
>top most folder: AIf I understand you right....
>subfolders: B, C, images.
>index.html is in A.
>anyfile.html is in B.
>anyfile2.html is in C.
>.jpg's are in images.
><a href="../index.html"home></a> this doesn't work.
><img src="../images/image.jpg"image /> this doesn't work.
>If all the files are in the top most folder, everything works fine.
>But when moving the html files into there own folders inside the top
>most folder nothing works at all. In microsoft notepad, the html
>works fine when moving the html files to another folder. Also, after
>moving the html files to another folder in notetab, notetab
>recreates the html files in the top most folder. Does anyone know
>how to correct this? Is there a setting that has to be set in order
>to stop this behavior?
<img src="images/image,jpg" />
The other one is just wrong. I guess you want to link to index.html ,
but from what file?
When you want to link to a file in another folder in the same
directory as the current HTML file, you just need to use the folder
name. Then you use a slash for each nested folder after that (just
part of a normal URL)
'../' as you used means one folder up. You use '../' for each folder.
Three folder up...
We aren't supposed to talk about HTML on this list. The original list
owner wanted to keep topics separated. So if you want more help with
this, please sign up for the Notetab HTML list. Just send an empty
email to the below address and you're in. :-)