Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Using cell styles to "clean up" table styles

From: InDesign Tables In Depth

Video: Using cell styles to "clean up" table styles

Table styles speed up design, but they can't do everything. Sometimes we need to apply an additional cell style to get the look we want. Let's take a look at a few examples. I've already opened the Table Styles and Cell Styles panel from the Window Styles menu. Here we have a table that already has a table style applied, tide_table, and I am going to apply it to the table down below. This table is unformatted, except of course, we already set the row, height, and column width, because we can't apply that in styles. So I've selected the table and I'm going to apply the style.

Using cell styles to "clean up" table styles

Table styles speed up design, but they can't do everything. Sometimes we need to apply an additional cell style to get the look we want. Let's take a look at a few examples. I've already opened the Table Styles and Cell Styles panel from the Window Styles menu. Here we have a table that already has a table style applied, tide_table, and I am going to apply it to the table down below. This table is unformatted, except of course, we already set the row, height, and column width, because we can't apply that in styles. So I've selected the table and I'm going to apply the style.

Well, that looks pretty good. Let me deselect everything. I am holding down Shift+Command+A or Ctrl+A. That's not quite right. If we click in this cell, we can see that the cell style header_cells has been applied. When a cell style is used inside a table style, you can click in the cell and tell which cell style it is, because the name of it appears down here. It doesn't get highlighted in the panel, but we can see which style it is here. Well, this is one of the most common reasons that we have to use extra cell styles to fix our tables.

We only have one style that we can apply to the entire header row. So that means, any time this right and left cell of the header row is different from all the other cells in header row, we have to bring out an extra cell style. And if you look at this design, you can see that most of the header rows or the center header rows have strokes on both sides of them, but the left and right side only have a stroke on one side, so we need to create a cell style to fix that. We'll create the cell style by simply selecting these cells. It's the easiest way to do it.

And so with this cell selected, I'll go to the Cell Styles panel and hold down Option or Alt and click on Create New Style. Let's call this one left_header_ fix, because that's what it is. Notice, that the style has also picked up the most important thing here and that is the Left Stroke Weight is turned off. It's set to 0. Now we'll do the same thing for the rightmost cell in the header row, I'll select it by pressing the Escape key and then we'll Option or Alt click on the Cell Styles Create New Style icon, and let's call this guy right_header_fix.

Now that we've created these cell styles, it's really easy to go in and correct the formatting for this table. Here is our left_header_fix and there's our right_header_fix. So even if you had a lot of tables in your document with this table style applied and you had to go back and fix the header row corners, it's not so bad. It's pretty easy to do as long as you create a cell style to speed along the process. Fixing the style of your header row is one of the most common reasons that you'll need to create these extra cell styles, because remember, when we assign a cell style in our table style, we have to apply one for the entire header row, we can't break out the left cell or the right cell of that entire header row.

And lots of times our designs have a different stroke treatment on one side or the other, of these outside cells. Let's take a look at a slightly different kind of example. I am going to turn to the next page, Shift+Page down, and here we have the table that also has a table style applied to it and if I click around, I can see that there is a Header cell style, there's one it's cut off in the panel here, but it's a left column style, and then this part of the table has the same cell style applied to it, again, via the table style called body_cell.

The problem in this table is that this one column of all the body cells should be centered. The style calls for them to be right aligned. So in this case we have to start by creating a paragraph style that will fix this. I am going to open the Paragraph Styles panel and the paragraph style is called table_text2. I am going to make a duplicate of that and we'll call this table_text_centered. I'll change the Alignment and then I am going to select this column where we need to center the text and apply the paragraph style.

Now, if this is the only fix you need to do your table, you don't really have to create a cell style, you can just apply the paragraph style. But this is another thing that comes up a lot in tweaking the formatting from table styles. One more example is this table. We have a table style applied and that style is what's giving us the alternating fill patterns here, two Pantone colors, alternating on every other row. But the design of this table calls for creating the effect of both alternating row fills and column fills.

Well, you can't do that in InDesign and one of the reasons is InDesign doesn't really know what to do with the colors where these two fill patterns intersect. We've made a design decision to make these cells a light tint of this primary pantone color and then these cells are a tint of this teal color. In this case, we simply created cell styles that apply these fills to the cells. And then yes, we had to go through and select each one, one by one, you can't select noncontiguous cells and apply the cell styles.

So you probably wouldn't want to do this for a document that has hundreds of these tables, but if it's a smaller table, you can use these individual cell styles to really do any number of things and it doesn't take that long really. There are plenty of other times when you're going to need to create a cell style to fix the formatting applied by your table style. If you have subhead rows running through your table, you'd have to create a separate cell style for those, you can't include them as part of the table style. But, even if a table style doesn't format every cell of your table exactly just right, you can see its pretty easy to use cell styles to finish the job off and still save tons of time.

Show transcript

This video is part of

Image for InDesign Tables In Depth
InDesign Tables In Depth

38 video lessons · 12457 viewers

Diane Burns
Author

 
Expand all | Collapse all
  1. 1m 21s
    1. Introduction
      49s
    2. Using the exercise files
      32s
  2. 11m 20s
    1. The three "Golden Rules"
      2m 45s
    2. Accessing table commands
      2m 20s
    3. Navigating and selecting tables
      3m 14s
    4. Where do tables come from?
      3m 1s
  3. 1h 2m
    1. Positioning tables in a text frame
      5m 38s
    2. Setting table borders
      6m 3s
    3. Inserting and deleting rows and columns
      5m 22s
    4. Setting header and footer rows
      3m 20s
    5. Working with alternating strokes and fills
      7m 35s
    6. Setting row height and column width
      7m 13s
    7. Formatting text in a cell
      4m 51s
    8. Positioning text in a cell
      3m 50s
    9. Mastering row and column strokes
      11m 31s
    10. Working with cell fills
      4m 28s
    11. Setting diagonal lines in tables
      2m 57s
  4. 22m 55s
    1. Merging and splitting cells
      4m 16s
    2. Creating tables with rounded-corner borders
      5m 33s
    3. Rotating text in a cell
      6m 13s
    4. Using gradients in tables
      4m 28s
    5. Dealing with overset text
      2m 25s
  5. 25m 55s
    1. Understanding the limitations of table and cell styles
      4m 28s
    2. Setting up and applying cell styles
      8m 21s
    3. Setting up and applying table styles
      7m 15s
    4. Using cell styles to "clean up" table styles
      5m 51s
  6. 18m 13s
    1. Working with linked files
      11m 55s
    2. Using Cut and Paste to update table data
      6m 18s
  7. 16m 41s
    1. Placing images in tables
      8m 33s
    2. Using graphics frames in tables
      8m 8s
  8. 16m 54s
    1. Using shapes to change cell corners
      8m 2s
    2. Creating infographics with tables
      8m 52s
  9. 17m 36s
    1. Simplifying complex text frames with tables
      5m 59s
    2. Setting up images and captions with tables
      6m 33s
    3. Creating pull quotes and design objects using tables
      5m 4s
  10. 12m 2s
    1. Comparing table styling for best export results
      6m 58s
    2. Converting tables to graphics for export
      5m 4s
  11. 50s
    1. Next steps
      50s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed InDesign Tables In Depth.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.