Forums
This topic is locked
why is there a / ?
24 Jan 2003 16:11:04 James Lee posted:
HEllo All,I get this strange problem sometimes when I do linking. When I do a linking, how come sometimes DWMX gives me a slash (/) in front of a link? For example, when I want to link to another web-page, I would go to properties palette, and click on the folder to link to another web-page. But during the process of linking, how come I have a (/) in fornt of the page name? for example, /abc.htm?? Because of this it gives me a lot of linking errors. How would you solve this problem?
Thanks for reading this!
Replies
Replied 24 Jan 2003 18:46:35
24 Jan 2003 18:46:35 Marja Ribbers-de Vroed replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I get this strange problem sometimes when I do linking. When I do a linking, how come sometimes DWMX gives me a slash (/) in front of a link? For example, when I want to link to another web-page, I would go to properties palette, and click on the folder to link to another web-page. But during the process of linking, how come I have a (/) in fornt of the page name? for example, /abc.htm?? Because of this it gives me a lot of linking errors. How would you solve this problem?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
When defining a link to another page, in the links dialog there is a dropdown where you can specify whether the link should be 'root relative' or 'document relative'.
When you specify 'root relative', that / gets inserted to always reference the file from the root directory of your website.
When you specify 'document relative', the path to the linked file will be declared with a path relative to the current document.
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
I get this strange problem sometimes when I do linking. When I do a linking, how come sometimes DWMX gives me a slash (/) in front of a link? For example, when I want to link to another web-page, I would go to properties palette, and click on the folder to link to another web-page. But during the process of linking, how come I have a (/) in fornt of the page name? for example, /abc.htm?? Because of this it gives me a lot of linking errors. How would you solve this problem?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
When defining a link to another page, in the links dialog there is a dropdown where you can specify whether the link should be 'root relative' or 'document relative'.
When you specify 'root relative', that / gets inserted to always reference the file from the root directory of your website.
When you specify 'document relative', the path to the linked file will be declared with a path relative to the current document.
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/