Relative Links in Macromedia Dreamweaver template

It seems that Dreamweaver has what almost appears like a bug. By changing one path in your template to Site Root it will change all template-related paths to Site Root throughout any page using that template. While this can be frustrating, there's also a fairly simple solution:

  • Select an image in the template that has a link.
  • Click on the Browse icon.
  • At the bottom of the browse window, change Relative To: to "Document". Click Ok.
  • If it was already set to "Document" then change to "Site Root". Click Ok. Click on the Browse icon again and then change Relative To: back to "Document". Click Ok.
  • Save and Update all pages.

Enjoy!

Published November 05, 2002 · Updated September 17, 2005
Categorized as Dreamweaver
Short URL: https://snook.ca/s/85

Conversation

1 Comment · RSS feed
Wilder said on February 09, 2009

Where is the Browse icon?

Sorry, comments are closed for this post. If you have any further questions or comments, feel free to send them to me directly.

Want to learn about scaling CSS for large projects?

I'm available for full and half-day workshops on scalable CSS architecture. I can provide on-site training for your team. Interested?
Get in touch.