Datasheet
Check Browser
Compatibility
T
he HTML standards are set by the World Wide Web
Consortium (W3C) (
www.w3c.org). However, not all
browsers and/or browser versions implement all parts
of the standard the same way. In addition, some browsers
have added HTML tags and attributes that are not in the
standard and do not work in all browsers. Dreamweaver
provides a feature that you can use to check which
browsers support the HTML code in your Web page.
Dreamweaver stores a list of target browsers that it uses to
check compatibility. You can add browsers to or remove
browsers from the target browser list. If you know what
browsers your visitors are likely to use, you can include only
those browsers in the target browser list. If you do not
know, make your code compatible with popular browsers.
You can also select which version of the browser to include.
For example, older browsers do not support (Cascading
Styole Sheets).
The FirstPage Web page file created earlier in this chapter
has no compatibility problems with the default set of target
browsers. A problem arises, however, when an older version
of IE (4.0) is added to the list of target browsers, as shown
in the example in this section.
For the browser check feature to work as described, the
Auto-check on Open feature must be turned on. To check
that the feature is turned on, click . The menu should
show a check by the feature. If not, click the feature to turn
it on.
•
2
1
4
3
Settings...
1 Open a Web page.
Note: When the page is opened, Dreamweaver
automatically checks for browser compatibility.
•
The green check mark means no browser
compatibility problems.
2 Click .
The Code Window opens.
18
Check Browser Compatibility
3 Click .
4 Click Settings.
04_776181 ch01.qxd 2/21/06 8:52 PM Page 18