Creating and editing a browser profile
You can create a browser profile by modifying an existing profile. For example, to create a profile
for a future version of Microsoft Internet Explorer, you can open the profile for the most recent
version of Internet Explorer that has a profile, add any new tags or attributes introduced in the
new version, and save it as a profile for the new version.
Note: Before you create a browser profile for a new version of a browser, check the Macromedia
Exchange for Dreamweaver site at www.macromedia.com/exchange/dreamweaver to see if
Macromedia has supplied a browser profile that you can download and install using the
Extension Manager.
To create or edit a browser profile:
Open an existing profile for editing.
1
If you're creating a new profile, open the profile that most closely resembles the profile you
want to create, and save the file under a new filename.
If you're creating a new profile, change the name that appears on the first line of text in the file.
2
(Two profiles cannot have the same name.)
Add any new tags or attributes that you know are supported by the browser, using the syntax
3
shown in
"About browser-profile formatting" on page
If you don't want to receive error messages about a particular unsupported tag, add it to the list
of supported tags. If you do this, save the profile in a separate file with a new filename (such as
Browsername x.x limited). Giving this alternate profile a new name preserves the original
profile with only the tags that are truly supported.
Delete any tags or attributes that are not supported by the browser.
4
This step is probably unnecessary if you are creating a profile for a new version of Netscape
Navigator or Internet Explorer because browsers rarely drop support for tags.
Add any custom error messages according to the syntax shown in
5
formatting" on page
The profiles that come with Dreamweaver list all supported tags for the specified browsers. To
add a custom error message to a tag, type
example shows information that appears in the Netscape Navigator 3.0 profile (along with
other attributes not shown here):
<!ELEMENT HR name="Horizontal Rule">
<!ATTLIST HR
COLOR !Error
>
To add a custom error message enter !msg= and then your error message in quotation marks
("):
<!ELEMENT HR name="Horizontal Rule">
<!ATTLIST HR
COLOR !Error !msg="Internet Explorer 3.0 supports the COLOR tag in
horizontal rules,but Netscape Navigator 3.0 does not."
>
You can use
6
!Error
a tag will be ignored but will not actually cause an error.
39.
!msg = "message"
for all error situations, or you can use
39.
"About browser-profile
after
. The following
!Error
or
!Warning
!Info
Working with browser profiles
to indicate that
41
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