Using Help
|
Contents
|
Index
Back
381
Adobe Photoshop Help
Designing Web Pages
Using Help
|
Contents
|
Index
Back
381
•
T to specify the distance in pixels between the top edge of the slice and the top edge of
the layer’s content.
•
R to specify the distance in pixels between the right edge of the slice and the right edge
of the layer’s content.
•
B to specify the distance in pixels between the bottom edge of the slice and the bottom
edge of the layer’s content.
Specifying browser messages
You can specify what messages appear in the browser using the Message and Alt options.
These options are only available for Image slices.
Message
Lets you change the default message in the browser’s status area for a selected
slice or slices. By default the slice’s URL is displayed.
Alt
Lets you specify an Alt tag for a selected slice or slices. The Alt text appears in place of
the slice image in nongraphical browsers. It also appears in place of the image while the
image is downloading and as a tool tip in some browsers.
In ImageReady, if the Message and Alt options aren’t showing, choose Show Options from
the Slice palette menu, or click the Show Options button
on the palette tab to view
them.
To specify a browser message:
1
Select a slice. If you are working in Photoshop, double-click the slice with the slice select
tool to display the Slice Options dialog box.
2
In the Slice Options dialog box (Photoshop) or the Slice palette (ImageReady), type the
desired text in the Message text box, Alt text box, or both.
Adding HTML text to a slice
Choosing the No Image type for a slice lets you enter text that will appear in the slice area
of the resulting Web page. This text is HTML text—you can format it using standard HTML
tags. You can also select vertical and horizontal alignment options. For more information
on specific HTML tags, see an HTML reference (either printed or on the Web).
Photoshop and ImageReady do not display HTML text in the document window; you must
use a Web browser to preview the text. (See
“Previewing an image in a browser” on
page 53
.) Keep in mind that the appearance of text is affected by the browser settings and
operating system it is viewed on. Be sure to preview HTML text in different browsers, with
different browser settings, and on different operating systems to see how text will appear
on the Web.
Note:
Be careful not to enter more text than can be displayed in the slice area. If you
enter too much text, it will extend into neighboring slices and affect the layout of your
Web page.
To add HTML text to a slice:
1
Select a slice. If you are working in Photoshop, double-click the slice with the slice select
tool to display the Slice Options dialog box.
2
In the Slice Options dialog box (Photoshop) or the Slice palette (ImageReady), select No
Image from the Type pop-up menu.
3
Type the desired text in the provided text box.