Quote:
and removing the / that Dreamweaver automatically adds
to the pathname |
See this older message, especially the part at *********To Change This
canned letter #7
it's because you are using Site Root relative paths {they always start with
a leading / slash }, and then either trying to directly view the files from
your hard drive, which is happening when clicking a link on a dreamweaver
"Preview in Browser" page, or you are hosted in a subfolder of a domain like
http://myhost.com/~mysite/
Site Root relative paths won't work in those cases- in the first case
because site root is different than drive root, in the later because the
domain is the site root, not your subfolder.
If that's the reason- change to Document Relative paths if you want the
pages to preview when viewing directly from your hard drive.
*Also- if this site is hosted in a subfolder of a domain, like
http://myhost.com/mysite/ you should Not use site root relative paths with
dreamweaver- they will come out wrong when the files are uploaded.
The point to file and Insert image uses the Last linking method you have
chosen.
******To change linking methods********
select an existing image or link on the page.
in the Property inspector, click the folder icon, to open the "Browse to
File" dialog box. On the lower part of that dialog box is a pulldown, to
choose "Site Root Relative" or "Relative to Document"
Put it on "Relative to Document"
Finish picking the correct file, and click okay.
That setting will now stay that way until it's changed.
When you use the point to file tool, it will use that method of linking.
If you want to quickly change links to a different linking method- install
the Relativity Extension.
http://e7x.com/dw/ Relativity ext.
or here
http://www.microwaved.plus.com/dw/