Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Design > Adobe Creative Suite

Like this article? We recommend

Like this article? We recommend

Table and Cell Styles

Table and Cell Styles

The problem with formatting tables is that it just takes far too long, especially when you have a bunch of tables in a document. That’s where table styles come in handy! Table styles—like their cousins paragraph styles and object styles—are a way to collect a bunch of formatting together and give it a single name. InDesign offers both table styles (for table-wide formatting) and cell styles (for formatting that affects a single cell).

The Basic Table Style.

Every new document comes with one table style called Basic. The problem is that if you redefine Basic and use it in your document, and then later copy one of these ables and paste it into a different document, your table will change in appearance. Because of that, we recommend you create your own styles instead of using Basic.

Defining Cell Styles

While it’s tempting to jump in and discuss table styles, it’s typically better to define your cell styles first because you’ll use them in your table style definition. To define a new cell style, follow these steps (see Figure 6-38):

  1. Choose New Cell Style from the Cell Style panel menu or Option/Alt-click on the New Cell Style button in the panel.
  2. In the General pane of the New Cell Style dialog box, give the style a name and—if you want—a keyboard shortcut. (Shortcuts have to be based on the keys on a numeric keypad.) If you’ve already created a cell style, you can base your new one on it so that it takes on all the same formatting.
  3. The coolest feature in the General pane is the Paragraph Style pop-up menu. If you choose a paragraph style here, it will automatically apply to any text inside the cell.

  4. The next three panes—Text, Strokes and Fills, and Diagonal Lines—are virtually identical to same-named panes in the Cell Options dialog box, so there’s no reason to repeat ourselves. For more information, see those sections earlier in this chapter.
  5. The important thing to note about these panes, however, is that—like character styles—all the controls are blank until you set them. A blank field or pop-up menu (or a dash in a checkbox) means “ignore this formatting” so it won’t be applied when the cell is styled. For example, if you leave the Cell Fill Color pop-up menu blank, then your cell style will not override the cell fill color already applied to the cell in the table.

    Figure 6.38 Defining Cell Styles

If your cursor is currently inside a formatted cell when you create a new cell style, the current formatting appears in the New Cell Style dialog box automatically. That’s often the fastest way to define a cell style. However, InDesign won’t apply the cell style for you after you click OK—you still have to do that with a click in the Cell Styles panel.

Defining Table Styles

Once you’ve defined the cell styles you need, it’s time to build your table style. To define a table style, follow these steps (see Figure 6-39):

  1. Choose New Table Style from the Table Style panel menu or Option/Alt-click on the New Cell Style button in the panel.
  2. In the General pane of the New Table Style dialog box, give the style a name and—if you want—a keyboard shortcut based on the numeric keypad keys. If you want to base the table style on another table style, choose it from the Based On dialog box. We recommend not basing new styles on the Basic Table style, as it makes it too easy for tables to get messed up when copying them to a new document.
  3. You can have InDesign automatically apply cell styles to areas of your table by choosing from the Cell Styles pop-up menus. For example, if you have created a cell style to describe the look of all the cells in your table (not including a header row), choose that style from the Body Rows pop-up menu. You can specify different cell styles for Body Rows, Header Rows, Footer Rows, and the cells in the Left Column and Right Column.

    Remember that each of these cell styles can apply its own paragraph style to the text inside those cells, too. That’s how you apply paragraph styles throughout a table by using a table style.

  4. The next four panes of the New Table Style dialog box—Table Setup, Row Strokes, Column Strokes, and Fills—are nearly identical to the similarly-named panes in the Table Options dialog box, so go read about those earlier in the chapter.
  5. However, some features are conspiculously absent in the table style definition, notably anything that has to do with the structure of the table: Table Dimensions, Headers, and Footers. Table styles cannot control these aspects of a table. That can be quite frustrating at times. For example, if you import an Excel or Word table and apply a table style to it, there’s no way for the style to tell the table that the first row should be a header row. Instead, you have to manually use Convert Rows to Header. That can get tiresome with a lot of tables.

  6. When you’re done specifying the look at feel of the table, click OK. InDesign won’t apply the style to a currently selected table; you have to click on the style name in the panel.

Figure 6.39 Defining a Table Style

Applying Table and Cell Styles.

As mentioned above, you can apply a table or cell style by—gasp!—placing the cursor in the table or cell (or selecting more than one cell) and clicking on the style name in the Table Styles or Cell Styles panel. Unfortunately, we don’t see any way to apply a table style when placing a Word or Excel document.

You can also apply a table style to a table when you first create it with the Insert Table or Convert Text to Table features (both dialogs sport a Table style pop-up menu from which to choose a style).

Redefining Styles.

You can change the definition of your table or cell styles at any time by selecting the style in the panel and choosing Style Options from the panel menu (or, better, from the Context menu). You can also change the formatting on your document page, then select the table or cell and choose Redefine Style from the Table Styles or Cell Styles panel menu. When you change a table or cell style definition, the new formatting is immediately reflected throughout your document.

Clearing Overrides.

Just because you’ve applied a table or cell style doesn’t mean you can’t override that with further local formatting. When you do apply local formatting on top of a cell or table, you’ll see the familiar plus (+) sign next to the style name, indicating there’s additional formatting here. You can see what that formatting is by hovering the cursor over the style name.

To remove the local formatting, you can Option/Alt click on the style name in the Table Styles or Cell Styles panel. If you want to remove both local formatting applied to a table as well as any cell styles that were applied, Option-Shift/Alt-Shift-click on a table style.

Another way to remove styles is to choose Clear Overrides from the Table Styles or Cell Styles panel menu (or click the Clear Overrides button at the bottom of the panel)—this is the same as Option/Alt-clicking. When it comes to cell styles, you have a final option in the panel menu (and panel button): Clear Attributes Not Defined by Style. The difference is subtle: Clear Overrides only removes the local formatting that overrides the cell style definition. Clear Attributes Not Defined by Style will clear all local formatting, even if it had nothing to do with the cell style’s definition.

If you want to remove the cell style entirely, select the cell (or cells) and click [None] in the Cell Styles panel.

Sorting Styles.

If you don’t like the order in which styles appear in the Table Styles or Cell Styles panel, you can rearrange them in two ways: You can choose Sort by Name from the panel menu or you can drag each style up or down to the position you want it.

Loading Styles.

You can copy the cell styles or table styles from another InDesign document by choosing Load Table Styles or Load Table and Cell Styles from the Table Styles or Cell Styles panel menu. When you do this, InDesign asks which styles you want, and—if some of the incoming styles have the same names as styles in your current document, what you want to do about it (see Figure 6-40).

Figure 6.40 Loading Table Styles

Style Groups.

You can group your table and cell styles together into groups (or folders, or sets, or whatever you want to call them) using the same techniques as grouping in the Paragraph Styles panel or elsewhere. First, make a style group by clicking the New Style Group button at the bottom of the Table Styles or Cell Styles panel, then drag your styles into the group. Alternately, you can select one or more styles and choose New Group from Styles from the panel menu.

If you want the same-named style in more than one group, select that style and choose Copy to Group from the panel menu.

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Peachpit products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.peachpit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020