Html output options, Slice output options – Adobe Illustrator CS3 User Manual
Page 404
ILLUSTRATOR CS3
User Guide
398
2
(Optional) To display predefined output options, choose an option from the Settings pop-up menu.
3
Edit each set of options as needed. To switch to a different set of options, choose an options set from the pop-up
menu below the Settings menu. Alternatively, click Next to display the next set in the menu list; click Prev to display
the previous set.
4
(Optional) To save output settings, set the options as desired, and click Save. Type a file name, choose a location
for the saved file, and click Save.
You can save the output settings anywhere. However, if you place the file in the Presets/Optimized Output Settings
folder inside the Photoshop program folder or the Presets/Save For Web Settings/Output Settings folder inside the
Illustrator application folder, the file will appear in the Settings pop-up menu.
5
(Optional) To load output settings, click Load, select a file, and click Open.
HTML output options
You can set the following options in the HTML set:
Output XHTML
Creates web pages meeting the XHTML standard on export. Choosing Output XHTML disables
other output options that might conflict with this standard. Selecting this option automatically sets the Tags Case
and Attribute Case options.
Tags Case
Specifies the capitalization for tags.
Attribute Case
Specifies the capitalization for attributes.
Indent
Specifies a method for indenting lines of code: using the authoring application’s tab settings, using a specified
number of spaces, or using no indention.
Line Endings
Specifies a platform for line ending compatibility.
Encoding
Specifies a default character encoding for the web page.
Include Comments
Adds explanatory comments to the HTML code.
Always Add Alt Attribute
Adds the ALT attribute to IMG elements to comply with government web accessibility
standards.
Always Quote Attributes
Places quotation marks around all tag attributes. Placing quotation marks around
attributes is required for compatibility with certain early browsers and for strict HTML compliance. However, always
quoting attributes is not recommended. Quotation marks are used when necessary to comply with most browsers if
this option is deselected.
Close All Tags
Adds close tags for all HTML elements in the file for XHTML compliance.
Include Zero Margins On Body Tag
Removes default internal margins in a browser window. Adds marginwidth,
marginheight, leftmargin, and topmargin tags with values of zero to the body tag.
Slice output options
You can set the following options in the Slices set:
Generate Table
Aligns slices using an HTML
table rather than a cascading stylesheet.
Empty Cells
Specifies how empty slices are converted to table cells. Select GIF, IMG W&H to use a 1-pixel GIF with
width and height values specified on the IMG tag. Select GIF, TD W&H to use a 1-pixel GIF with width and height
values specified on the TD tag. Select NoWrap, TD W&H to place a nonstandard NoWrap attribute on the table data
and also place width and height values specified on the TD tags.