n Document-relative addresses know the scheme, server, and path aspects of the URL. Include
additional path information only if the link is outside the current Web page??™s folder. Links in the
current document??™s folder can be addressed with their filenames only. To reference an item in a
subfolder, just name the folder, enter a forward slash, and then enter the item??™s filename, as follows:
images/background.gif
n Site-root??“relative addresses are indicated with a leading forward slash:
/navigation/upndown.html
This example links to a file named upndown.html stored in the navigation directory at the current
site root. Dreamweaver translates site-relative links to document-relative links when the
Preview in Browser feature is used.
You can set your preference for document- or site-root??“relative links on a site-by-site basis.
Open your Site Definition dialog box by double-clicking the displayed site name in the Files
panel drop-down list. In the General category of the Site Definition dialog box, choose the Links Relative To
option you??™d prefer.
Checking links
A Webmaster must often perform the tedious but necessary task of verifying the links on all the Web pages
in a site. Because of the Web??™s fluid nature, links can work one day and break the next.
Pages:
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704