Formatting a Table


Formatting a table can take far longer than creating it in the first place. Try not to overdo it. If your table is plastered with wild colors, fancy lines, and flamboyant fonts, the text it contains will be almost impossible to read. Also, be careful to select the exact cells that you want to format before issuing a command, and remember that you can always use Undo if you make a change that you don't like.

At the risk of stating the obvious, you can apply all the regular font and paragraph formatting in a table. Select the part of the table that you want to affect, and then use the familiar options in the Formatting toolbar, Font and Paragraph dialog boxes, and so on. The next five sections describe formatting that's specific to tables.

Changing the Appearance of Lines and Adding Shading

To change the appearance of the lines in your table, choose the desired options in the Line Style, Line Weight, and Border Color lists in the Tables and Borders toolbar. If you want to hide the lines, choose No Border in the Line Style list. Then turn on the Draw Table tool, if necessary, and draw over the lines you want to affect.

To apply shading, select the desired part of the table, display the Shading Color list in the Tables and Borders toolbar (see Figure 15.19), and click the desired color.

Figure 15.19. Click a color in the Shading Color palette to shade the selected cells.

graphics/15fig19.gif

graphics/lightbulb_icon.gif

The most recently selected color appears on the face of the Shading Color button. If you want to apply this color, just click the button itself instead of choosing a color from the palette.


Resizing Columns , Rows, and the Entire Table

To adjust a column's width, drag its right border. To adjust a row's height, drag its bottom border. When you point to any line in a table, the mouse pointer changes to a double-headed arrow to remind you that you can drag to resize (see Figure 15.20).

Figure 15.20. Drag the right border of a column to resize it.

graphics/15fig20.jpg

graphics/lightbulb_icon.gif

Be careful not to drag a column boundary when you have individual cells on either side of the boundary selected. You'll end up moving the boundary for only the selected cells, not the entire column.


You can be more precise about column width and row height if you like. If you hold the Alt key down as you drag the column or row boundary, the horizontal or vertical ruler shows you the exact width/height of the columns or rows.

If it's easier for you to just enter the exact measurements instead of dragging, you can do so in the Table Properties dialog box.

Follow these steps to resize columns:

  1. Select the columns you want to adjust.

  2. Choose Table, Table Properties , and click the Column tab (see Figure 15.21).

    Figure 15.21. Use the Column tab of the Table Properties dialog box to specify exact column widths.

    graphics/15fig21.jpg

  3. Enter the desired width in the Preferred Width text box. By default, you enter the width in inches, but if you like you can select Percentage in the Measure In drop-down list, and then type a percentage in the Preferred Width text box instead.

  4. Click OK .

Follow these steps to resize rows:

  1. Select the rows you want to adjust.

  2. Choose Table, Table Properties , and click the Row tab (see Figure 15.22).

    Figure 15.22. Use the Row tab of the Table Properties dialog box to specify exact row heights.

    graphics/15fig22.jpg

  3. Mark the Specify Height check box, and enter the height in the Specify Height text box.

  4. In the Row Height Is drop-down list, choose either At Least or Exactly . If you choose At Least, Word will not let the row height get smaller than the height you specify, but it will let the row height get bigger if it needs to do so to fit the text.

  5. Click OK .

graphics/lightbulb_icon.gif

If you accidentally resize a table so that its right edge runs off the edge of the page, here's a way to bring the edge back into view: Choose Table, Table Properties. In the Table tab of the Table Properties dialog box, type a width narrower than the distance between your margins in the Preferred Width text box, and click OK.


To make multiple rows the same height, or multiple columns the same width, select the rows or columns, and then click the Distribute Rows Evenly or Distribute Columns Evenly button on the Tables and Borders toolbar (see Figure 15.23).

Figure 15.23. The Distribute Rows Evenly and Distribute Columns Evenly buttons enable you to quickly even out your rows and columns.

graphics/15fig23.gif

To proportionally resize the entire table, make sure the Draw Table and Eraser tools are turned off, and point to the small square just outside the lower-right corner (refer to Figure 15.20). Then drag diagonally up and to the left to shrink the table, or down and to the right to enlarge it. If you don't see this square, make sure the Draw Table and Eraser tools are turned off, and rest the mouse pointer inside the table.

Adjusting the Position of the Table on the Page

To move your table around on the page, drag the four-headed arrow icon located just outside the upper-left corner of the table (refer to Figure 15.20). If you need to position the table more precisely, you can also click in it and choose Table, Table Properties to display the Table Properties dialog box (see Figure 15.24).

Figure 15.24. Use the Table tab of the Table Properties dialog box to position your table more precisely.

graphics/15fig24.jpg

If you want your table to be left-aligned, right-aligned, or centered on the page, select the desired option under Alignment. You can also use the Indent from Left text box to indent the table a specific amount from the left margin. Finally, click the Around box if you want the text surrounding your table to be able to wrap around it.

Aligning Text and Changing Its Direction

To change the vertical/horizontal alignment of text in your table, select the cells whose alignment you want to change, display the Align list (see Figure 15.25), and click the desired option. To change the direction of text from the default left-to-right to either bottom-to-top or top-to-bottom, select the cell and then click the Change Text Direction button one or more times. The bottom-to-top option was used to align the text in the leftmost cell in Figure 15.5 (shown earlier in this hour ).

Figure 15.25. Use the Align and Change Text Direction tools to play with the appearance of text in a table.

graphics/15fig25.gif

Using the Table AutoFormat Feature

If you want your table to look beautiful but are lacking inspiration, you might check out the Table AutoFormat feature. Word offers a wide variety of built-in table styles that you can choose from to apply a facelift to your table. Not surprisingly, this feature is also useful if creativity does come knocking because it enables you to create your own table styles or modify the built-in ones. This would be a useful approach if your job requires you to create many similar tables and you want them to have a consistent look.

The default "plain vanilla " table style that Word applies to tables is called Table Grid. To apply any of the other built-in table styles to your table, follow these steps:

  1. Click anywhere in the table and choose Table, Table AutoFormat .

  2. In the Table AutoFormat dialog box, shown in Figure 15.26, click the various table styles to display previews of them in the bottom half of the dialog box.

    Figure 15.26. Use the Table AutoFormat dialog box to spruce up your table.

    graphics/15fig26.jpg

  3. When you find one you like, you can clear any of the check boxes under Apply Special Formats To if you want to change the style so as to remove the formatting from the heading rows, first column, last row, or last column of the table. Then click the Apply button.

If you want to remove a built-in style from your table and return it to its default state, just repeat these steps and select the Table Grid style in step 3.

To modify a table style, select it and click the Modify Style button. The Modify Style dialog box that appears is almost exactly like the Modify Style dialog box you used in Hour 9, "Working with Styles." The only difference is that it contains some table- related formatting options. Remember that you can mark the Add to Template check box if you want the modified version of the style to be available to other documents that you base on the current template. After you've modified the style, you can click the OK button to apply the modified style to the whole table. If you'd rather apply it to only a particular part of the table, select that part in the Apply Formatting To drop-down list, and then click OK.

If you want to create a new style, click the New button in the Table AutoFormat dialog box to display the New Style dialog box. This dialog box is also very similar to the New Style dialog box you worked with in Hour 9, except that it has some special formatting options that are specific to tables. Again, make sure to mark the Add to Template check box if you want to use the style outside of the current document, and select a particular part of the table in the Apply Formatting To drop-down list to apply the new style to that part only.

To delete a table style, select it in the Table AutoFormat dialog box, click the Delete button, and then click Yes in the message box that appears.

Finally, if you are so taken with one of the table styles that you want to make it the default for either the current document or all documents based on the current template, select the style in the Table AutoFormat dialog box and click the Default button. In the Default Table Style dialog box, mark either of the two option buttons to indicate whether you want the style to be the default in the current document only or for all documents based on the current template.



Sams Teach Yourself Microsoft Office Word 2003 in 24 Hours
Sams Teach Yourself Microsoft Office Word 2003 in 24 Hours
ISBN: 067232556X
EAN: 2147483647
Year: 2003
Pages: 315
Authors: Heidi Steele

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net