454
ADOBE ILLUSTRATOR CS2
User Guide
To resize web graphics
You can use the Image Size palette in the Save For Web dialog box to change the pixel dimensions of web graphics.
1 Click the Image Size tab in the Save For Web dialog box.
2 Enter a new pixel dimensions or specify a percentage by which to resize the image.
3 Set any of the additional options, and click Apply:
Constrain Proportions Maintains the current proportions of pixel width to pixel height.
Anti-Alias Removes jagged edges in the artwork by applying anti-aliasing.
Clip To Artboard Clips the artwork size to match the document’s Artboard boundary. Any artwork outside the
Artboard boundary will be deleted.
Note: None of the features in the Image Size palette are available for the SWF and SVG file formats except Clip To
Artboard.
See also
“About web graphics” on page 442
“About the Save For Web dialog box” on page 452
To link slices for group optimization
You can apply the same optimization settings to multiple slices by linking the slices together in the Save For Web
dialog box.
1 Select the slices.
2 Select Link Slices from the Optimize menu (to the right of the Settings menu).
The link icon appears on the linked slices, and the slice lines and icons are assigned a new color to help you identify
the slices in the set.
To unlink slices, select any or all slices, and choose Unlink Slice or Unlink All Slices from the Optimize menu.
Linked slices in GIF and PNG-8 format share a color palette and dither pattern to prevent the appearance of seams
between the slices.
See also
“About web graphics” on page 442
To generate CSS layers for web graphics
You can use layers in your artwork to generate CSS layers in the resulting HTML file. A CSS layer is an element that
hasanabsolutepositionand canoverlap with otherelementsinawebpage. ExportingCSS layers is useful when you
plan to create dynamic effects in your web page.
The Layers palette in the Save For Web dialog box gives you control over which top-level layers in your artwork are
exported as CSS layers, and whether exported layers are visible or hidden.
1 Click the Layers tab in the Save For Web dialog box.
2 Select Export As CSS Layers.