Create slices – Adobe Illustrator CS4 User Manual

Page 382

Advertising
background image

375

USING ADOBE ILLUSTRATOR CS4

Web graphics

Sliced artwork using different slice types

A. No Image slice B. Image slice C. HTML Text slice

You can view slices on the artboard and in the Save For Web & Devices dialog box. Illustrator numbers slices from left
to right and top to bottom, beginning in the upper left corner of the artwork. If you change the arrangement or total
number of slices, slice numbers are updated to reflect the new order.

When you create a slice, Illustrator slices the surrounding artwork into automatic slices to maintain the layout using
a web-based table. There are two types of automatic slices: auto slices and subslices. Auto slices account for the areas
of your artwork that you did not define as a slice. Illustrator regenerates auto slices every time you add or edit slices.
Subslices indicate how overlapping user-defined slices will be divided. Although subslices are numbered and display a
slice symbol, you cannot select them separately from the underlying slice. Illustrator regenerates subslices and auto
slices as needed while you work.

See also

Save For Web & Devices overview

” on page 384

Slice output options

” on page 402

Create slices

Do one of the following:

Select one or more objects on the artboard, and

choose Object > Slice

> Make.

Select the Slice tool

and drag over the area where you want to create a slice. Shift-drag to constrain the slice to

a square. Alt-drag (Windows) or Option-drag (Mac

OS) to draw from the center.

Select one or more objects on the artboard, and choose Object > Slice

> Create From Selection.

Place guides where you want to slice the artwork, and choose Object > Slice

> Create From Guides.

Select an existing slice, and choose Object > Slice

> Duplicate Slice.

Use the Object > Slice > Make command when you want the slice dimensions to match the boundary of an element
in your artwork. If you move or modify the element, the slice area automatically adjusts to encompass the new

artwork. Also use this command to create a slice that captures text and basic formatting characteristics from a text object.

Use the Slice tool, the Create From Selection command, or the Create From Guides command when you want the slice
dimensions to be independent of the underlying artwork. Slices that you create in one of these ways appear as items

in the Layers panel, and you can move, resize, and delete them in the same way as other vector objects.

Camping Gear

Backpacks Lighting Tents Slee

Gear

Clothing

A

B

C

Advertising