Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
In many of the techniques used to create links in Dreamweaver, the link is resolved for you automatically without asking which type of link you want. This can sometimes lead the sites using only one type of link, when in fact; the author actually requires the other. Well, this the preference that you can set in Dreamweaver, but it's not located where you might think. Most people that are new to Dreamweaver keep searching in vain I might add, in Dreamweaver's Preference dialog box for the setting. It is in fact, chosen when you initially define your site and is editable at any time by simply editing your site.
So I am just going to pull up my site Definition dialog box and easy enough to do by going over to the Files Panel and simply double-clicking on the name of the site. So when I do that, up comes my Site Setup dialog box and what I want to do is I want to click on the Advanced Settings. In Advanced Settings I want to click on the Local Info Category and this allows me to set a few things like the Default Images Directory or a Sitewide Media Query file that I had setup. For what we're looking for however, we are looking at the Links relative option. So you'll notice that by default Document Relative Links are selected and that's because they really are just the overwhelming majority of links within sites.
Now we do have the Option here of switching it to Site Root Relative Links. Now what that means is any of the techniques that are going to learn in just a little bit of creating Links on the page where Dreamweaver resolves the link for you automatically, it's going to resolve that using a Site Root Relative Path, instead of a Document Relative path. Now unless there is a very good reason within your site to choose Site Root Relative, you really should just stick with Document Relative Links. They are the most widely used and unless you have a very specific reason for using Site Root Relative Links, there's no reason to ever come in here and edit this.
So this is probably a setting that you won't really need to ever edit, but it's helpful to know exactly where it is. All right, I am going to go ahead and click Save and close out of that. So the option of choosing to have Dreamweaver resolving the links as Document or Site Root Relative is pretty easy. You just have to remember, it's in the Site Definition dialog box, not the Preferences. Now it is worth noting as you'll see in just a little bit that many of the link creation techniques allow you to actually specify either using Document or Site Root Relative, so you don't have to edit the setting every single time you want to change it, you simply might, you have to just use a technique that you don't normally use when changing Link Types.
Get unlimited access to all courses for just $25/month.Become a member
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.