Step two: Creating cell styles for a table
Video: Step two: Creating cell styles for a tableSelf styles control the formatting of individual cells within a table. Self styles can be applied manually to a table or automatically from within a Table Style, following along with our process. Now that our Text Styles have been created to format the text within each cell, we will create Cell Styles to control the appearance of each individual cell within the table. Cell Styles have a similar behavior to Character Styles. In that, a manually applied Cell Style will win over any properties of the Table Style. Keep this in mind when creating your own Table Styles.
Viewers: in countries Watching now:
Adobe InDesign styles let you format content in your layouts easily, accurately, and consistently. In this workshop, expert trainer Chad Chelius teaches how to use every kind of style: character styles, paragraph styles, nested styles, object styles, and table styles. Learn about style overrides, the Next Style feature, importing styles from Word, sharing styles between documents, and much more. If you create content that requires consistent formatting, this workshop can help you work faster and more efficiently.
- What are styles and why should I use them?
- Setting up and applying styles
- Dealing with style overrides
- Text styles
- Object styles
- Table styles
- Using style groups
- Sharing styles between documents
Step two: Creating cell styles for a table
Self styles control the formatting of individual cells within a table. Self styles can be applied manually to a table or automatically from within a Table Style, following along with our process. Now that our Text Styles have been created to format the text within each cell, we will create Cell Styles to control the appearance of each individual cell within the table. Cell Styles have a similar behavior to Character Styles. In that, a manually applied Cell Style will win over any properties of the Table Style. Keep this in mind when creating your own Table Styles.
I'm going to begin by grabbing my Type tool and selecting the entire table as a unit. What I have up here is a proxy that indicates the Stroke Edges, that are going to be affected by any change in color to the selected table. And the way that this works is that, you can click on an Edge to deselect it do that it is not affected. For now, I'm going to leave them all turned on so that I'm effecting all of them.
And I'm going to set the Stroke Weight to zero. And that's going to remove the stroke from every cell in the table, as well as the table itself. I'm going to click in this cell in the upper left-hand corner using my Type tool. And the easiest way to select the single cell in InDesign is to simply press the Escape key on your keyboard. In my Control panel, I'm going to set the Vertical Justification of this cell to Center so that it centers that text up and down. I'm going to change the Fill Color of the property to the Dark Blue color. And then, in my Stroke Properties, I'm going to deselect the left, right, and top edges of this cell.
And I'm going to set the Stroke Weight to 2 points and the color to paper. That way, this cell now has a fill of dark blue, a stroke bottom edge of white or paper, and the text within the cell is being centered up and down. Once again, I'm going to press the Escape key to highlight that cell. I'm going to come down to my Cell Styles panel and I'm going to Option-click or Alt-click on the New Style button. This cell is going to be called Table Header Cell. Once again, this is very helpful.
When you're naming your cells to name them according to where they're going to be located in your table. It's going to make our job easier when we create the overall Table Style. Now, we also, down here under Paragraph Styles, need to choose the Paragraph Style we created earlier that's going to be applied to the text within this cell. I'm going to chose Table Header Text. And now, that text is being applied to this cell. I'm going to click OK. And now, we have our Table Header Cell created.
Let's keep going. I'm going to click inside of the cell beneath that header cell, and I'll zoom in on this to make it a little bit easier to see. I'm going to press Escape on my keyboard to highlight that cell, and I'm going to set the Vertical Justification to Centered. With that cell highlighted, I'm going to come up here to my Fill Color and I'm going to choose the second blue color in my list to fill it with this blue color. I'm going to set the Stroke to None for this cell.
And now, I'm going to create another new cell style. So, while holding down Option or Alt in my keyboard, I'm going to click the Create New Style button. This cell is going to be called Table Left Cell. In the Paragraph Style drop down menu, I'm going to choose Table Left Text to tell this cell style how to format the text within the cell. Click OK, and now we have our second cell style created. I'm going to move over to this next section. I'm going to click inside of the cell and press Escape.
This cell, we actually want to be filled with none. So currently, my Fill Color is set to None, that's good. I'm going to set the Stroke Color to None as well. I'm going to set my Vertical Justification to Centered, and that looks good. So once again, Option or Alt-click on the Create New Style button. This is going to be called Table Body Cell. From the Paragraph Style drop down menu, I'll choose Table Body Text. We'll click OK. Now, we're going to move over a little bit further to the price. I'm going to click inside of there and press Escape. We're going to go ahead and set the Vertical Justification on that to Centered up and down.
And I'm going to change the Fill Color to this Light Blue in my list. I'm also going to change the Stroke Color to nNone. Once again, Option-click to create a new style. We'll call this Table Right Cell, and we're going to choose the Table Right Text from the Paragraph Style drop down menu. Click OK. Now, I'm going to zoom out by pressing Cmd + 0 or Ctrl + 0 on my keyboard. And if I turn off Preview mode, you can see that we have one row of cells at the bottom, which is going to be our footer cells.
So using my Type tool, I just clicked on the left edge of that row to highlight it. And I'm going to go ahead and, in my Proxy Indicator, I'm just going to deselect all the strokes except the top. And I'm going to set the size to 2 and the Stroke to Paper. That way, these cells will have a white stroke on the top of that row. I'm going to set the Fill Color to Dark Blue, and that looks pretty good. So, I'll just click inside of one of those cells and then press Escape to highlight it.
Then, I'll Option-click it to create one more cell style. And this one's going to be called Table Footer Cell. Now, this cell does not have any text that will be formatted, so I'm just going to go ahead and click OK.
There are currently no FAQs about Up and Running with Styles in InDesign CS5.