
501
21
CHAPTER 21
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Testing and Publishing a Site
Before uploading your site to a server and declaring it ready for viewing, it’s a good
idea to test it locally. (In fact, it’s a good idea to test and troubleshoot your site
frequently throughout its construction—you can catch problems early and avoid
repeating them.) You want to make sure that your pages look and work as
expected in the browsers you’re targeting, that there are no broken links, and that
the pages don’t take too long to download. You can also test and troubleshoot your
entire site by running a site report before you publish your site.
The following guidelines will help you create a good experience for visitors
to your site:
•
Make sure your pages function as expected in the browsers you’re targeting and that
they “fail gracefully” in other browsers. Your pages should be legible and functional
in browsers that do not support styles, layers, plug-ins, or JavaScript. (See
“Checking for browser compatibility” on page 502.) For pages that will fail badly
in older browsers, consider using the Check Browser behavior to automatically
redirect visitors to another page. (See “Check Browser” on page 447.)
•
Preview your pages in as many different browsers and on as many different
platforms as possible. This gives you an opportunity to see differences in layout,
color, font sizes, and default browser window size that cannot be predicted in a
target browser check. (See “Previewing in browsers” on page 504.)
•
Check your site for broken links (and fix them). Other sites undergo redesign
and reorganization too, and the page you’re linking to may have been moved or
deleted. For a simple list of links to external sites, you can run a link check.
Alternatively, you can run a site-wide report that checks for and produces a
report on invalid external links. (See “Checking links in a page or site” on page
506, “Opening linked documents in Dreamweaver” on page 508, or “Creating
reports” on page 510.)
Содержание 38028779 - Macromedia Dreamweaver - Mac
Страница 1: ...macromedia Using Dreamweaver...
Страница 148: ...Chapter 4 148...
Страница 296: ...Chapter 12 296...
Страница 472: ...Chapter 18 472...
Страница 512: ...Chapter 21 512...
Страница 562: ...Appendix 562...