You can use Dreamweaver to preview and test your document in a browser.
NOTE |
|
If you havent selected a browser yet, select Edit > Preferences or Dreamweaver > Preferences (Macintosh), and then select the Preview in Browser category on the left to select a browser. (See Setting the Preview in Browser Preferences options.) |
In most cases, all browser-related functions work, including JavaScript behaviors, document-relative and absolute links, ActiveX controls, and Netscape Navigator plug-ins, provided that you have installed the required plug-ins or ActiveX controls in your browsers.
If you use Internet Explorer on a Windows XP computer with Service Pack 2 installed, the browser may display a message that tells you it has restricted the file from showing active content. You can fix this problem by including Mark of the Web code in the file. For more information, see Previewing active content in Internet Explorer (Windows).
NOTE |
|
Content linked with a site root-relative path does not appear when you preview documents in a local browser unless you specify a testing server, or select the Preview Using Temporary File option in Edit > Preferences > Preview in Browser. This is because browsers dont recognize site roots--servers do. |
TIP |
|
To preview content linked with root-relative paths, put the file on a remote server, and then select File > Preview in Browser to view it (see Site root-relative paths). |