Working With Browser Profiles; About Browser-Profile Formatting - MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Manual

Extending dreamweaver
Hide thumbs Also See for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER:
Table of Contents

Advertisement

To turn off Dreamweaver encoding options:
Select Edit > Preferences, and select the Code Rewriting category.
1
Deselect either or both Special Characters options.
2
For information on the other Code Rewriting preferences, see Dreamweaver Help
(Help > Using Dreamweaver).

Working with browser profiles

Browser profiles are the files Dreamweaver uses to check your documents when you run a target
browser check (see Dreamweaver Help [Help > Using Dreamweaver]). Each profile contains
information about the HTML tags and attributes that a particular browser supports. A browser
profile can also contain warnings, error messages, and suggestions for tag substitutions.
Browser profiles are stored in the Configuration/BrowserProfiles folder in the Dreamweaver
application folder. You can edit existing profiles or create new ones using Dreamweaver or a text
editor. It is not necessary to quit Dreamweaver before editing or creating browser profiles.

About browser-profile formatting

Browser profiles follow a specific format. To avoid parsing errors during target browser checks,
follow these rules when editing or creating profiles:
The first line is reserved for the name of the profile. It must be followed by a single carriage
return. The name on this line appears in the Target Browser Check dialog box and in the target
check report. It must be unique.
The second line is reserved for the designator
Dreamweaver uses this line to determine which documents are browser profiles. Do not change
or move this line.
Two hyphens (--) at the beginning of a line indicate a comment (that is, the line is ignored
during the target check process). A comment must start at the beginning of a line—you can't
put two hyphens in the middle of a line.
You must use a space in the following places:
Before the closing angle bracket (>) on the
After the opening parentheses in a list of values for an attribute
Before a closing parentheses in a list of values
Before and after each pipe (|) in a list of values.
You must include an exclamation point (!) without a space before each of the following words:
,
ELEMENT
ATTLIST
You can include
messages can contain only plain text.
!msg
HTML comments (
with parsing. Dreamweaver does not report an error for comments because all browsers
support them.
,
, and
(
Error
msg
ELEMENT
,
, and
!Error
!Warning
) cannot be listed as tags in browser profiles because they interfere
!---->
PROFILE_TYPE=BROWSER_PROFILE
line
!ELEMENT
,
,
!ATTLIST
!Error
within the
!Info
!ELEMENT
Working with browser profiles
.
,
).
!msg
or the
area.
!ATTLIST
39

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents