
163
ADOBE GOLIVE CS2
User Guide
To convert the doctype of a document from XHTML to HTML
1
Do one of the following tasks:
•
To convert a single document, choose Markup from the document window menu
in the Layout Editor, and
then choose Convert to HTML. The Convert To HTML dialog box appears.
•
To convert multiple documents, open a site and select the files you want to convert, and then choose Special >
Convert > To HTML. The Convert To HTML dialog box appears.
2
Choose Write Full Doctype to ensure that GoLive includes a complete doctype with URL.
3
Use the following options to set how you want GoLive to handle the conversion of the ID attribute used in the
following elements: a, form, img, and map.
Do Not Touch
Does not change ID attributes or their values.
Copy To Attribute “Name” (If There Is No Conflict)
Copies the ID attribute and its value to a name attribute.
Convert To Attribute “Name” (If There Is No Conflict)
Converts the ID attribute and its value to a name attribute.
Configuring the objects toolbox for a doctype
After you set a document’s doctype, GoLive automatically disables buttons on the toolbar and menu commands so
that you can’t add elements that are not compliant with the DTD for the current doctype. For example, because the
font element doesn’t comply with the XHTML Basic DTD, GoLive automatically disables the font size and color
options in the toolbar and the Font menu commands.
The one exception where GoLive does not automatically disable tools is the icons in the objects toolbox. You must
manually configure the objects toolbox if you want to hide the icons for elements that are not allowed in the current
doctype.
Note:
You can’t configure the objects toolbox for an imported DTD.
To configure the objects toolbox for a doctype
1
In the objects toolbox, choose Configure from the Palette Options menu.
2
Do one of the following:
•
To show all icons in the objects toolbox, choose GoLive.
•
To hide the icons for elements not allowed in the current doctype, choose the current doctype.
Adding elements and scripts
To add elements or scripts to the head section
An HTML page consists of two major sections: a head and a body. The Layout Editor in GoLive mirrors this structure
by providing a head section pane as part of the document window. You can use the head section pane to store page
information that’s used by web browsers, including the page title and keywords. The head section of each page
already contains a Title element for the page title that appears at the top of the document window.
1
Drag the desired icon from the Head set
in the objects toolbox to the body of the page.
GoLive automatically moves it to the head section pane and opens the pane. (You can also click the Toggle Head
Section icon
in the upper left corner of the document window to open the head section pane.)
Summary of Contents for GOLIVE CS2
Page 1: ...Chapter 1 Copyright User Guide...
Page 251: ...ADOBE GOLIVE CS2 242 User Guide...