Positioning and resizing slices


    You can resize and move slices, and change their stacking order.

To resize all slices to the artboard boundaries:

    Choose Object > Slice > Clip To Artboard.

    Slices that extend beyond the artboard are truncated to fit the artboard and autoslices that lie within the artboard are extended to the artboard boundaries; all artwork remains the same.

To move or resize a slice:

  1. Select a slice. (See Selecting slices.)
  2. To move a slice, select the Slice Selection tool Slice Select tool , move the pointer inside the slice selection border, and drag the slice to a new position. Press Shift to restrict movement to a vertical, horizontal, or 45° diagonal line. If the slice was created using the Object > Slice > Make command, the corresponding artwork also moves.
  3. To resize a slice, do one of the following:
    • Select the Slice Selection tool Slice Select tool , and drag any side of the selected slice. (The pointer changes to a double-sided arrow when its over a slice edge.) Slice boundaries snap to other slice boundaries. If the slice was created using the Object > Slice > Make command, the object isn't resized.
    • Select the Selection tool Selection tool , and drag a side or corner handle of the slice. If the slice was created using the Object > Slice > Make command, this method will also resize the object.
    • To resize or move a slice using numeric coordinates, choose Window > Transform, and enter the desired coordinates. (See Using the Transform palette.)

    Alternatively, you can use the direct selection tool to select a slice path segment or slice anchor point and drag to move or resize either item. The slice boundaries resize as needed to keep the slice path within a rectangular shape.

To align or distribute slices:

  1. Select the slices you want to align or distribute.
  2. Choose Window > Align, and click the type of alignment or distribution you want to apply to the slices. (See Aligning and distributing objects.) If the slices were created using the Object > Slice > Make command, the corresponding artwork also moves.
  3. Aligning slices can eliminate unneeded auto slices to generate a smaller, more efficient HTML file.

To change the stacking order of slices:

    Do one of the following:

To lock all slices:

    Choose View > Lock Slices.

    Locking slices prevents you from making changes accidentally, such as resizing or moving. The Lock Slices command does not affect slices that were created using the Object > Slice > Make command.

    Tip iconUse the Layers palette to lock individual slices. (See Locking objects.)