You can set the following options in the Slices set:
Generate Table Aligns slices using an HTML table, rather than a Cascading Style Sheet.
Empty Cells Specifies how empty slices are converted to table cells. Select GIF, IMG W&H to use a one-pixel GIF with width and height values specified on the IMG tag. Select GIF, TD W&H to use a one-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.
TD W&H Specifies when to include width and height attributes for table data: Always, Never, or Auto (the recommended setting).
Spacer Cells Specifies when to add one row and one column of empty spacer cells around the generated table: Always, Never, or Auto (the recommended setting). Adding spacer cells is necessary with table layouts in which slice boundaries do not align, to prevent the table from breaking apart in some browsers.
Generate CSS Generates a Cascading Style Sheet, rather than an HTML table.
Referenced Specifies how slice positions are referenced in the HTML file when using CSS:
• By ID to position each slice using styles that are referenced by a unique ID.
• Inline to include style elements in the declaration of the block element <DIV> tag.
• By Class to position each slice using classes that are referenced by a unique ID.
Default Slice Naming Choose elements from the pop-up menus or enter text into the fields to be combined into the default names for all use slices. Elements include document name, the word slice, numbers or letters designating slices or rollover states, slice creation date, punctuation, or none.
Was this article helpful?
Adobe Photoshop can be a complex tool only because you can do so much with it, however for in this video series, we're going to keep it as simple as possible. In fact, in this video you'll see an overview of the few tools and Adobe Photoshop features we will use. When you see this video, you'll see how you can do so much with so few features, but you'll learn how to use them in depth in the future videos.