ONLINEPROOFINGSERVICE.COM

solution - www.onlineproofingservice.com

Menu


8. Right-click (Windows) or Ctrl+click (Mac) in any cell in the highlighted column or row. A pop-up menu appears, as shown in Figure 6-7. Alternatively,


you can use the Properties inspector to change selected items. 9. From the pop-up menu, choose Align and then choose Left, Center, Right, or Justify from the submenu. This option enables you to change the alignment of all highlighted cells in the column or row at one time. If youre working with financial data, choose Align?Right, which produces the best alignment for numbers. You can also apply other formatting options, such as bold or italic, to selected cells and their contents by choosing the option from the popup menu or the Properties inspector. If you want to format one cell in a column or row differently from the others, click to place the cursor in just that cell and then click one of the formatting options in the Properties inspector. You can also choose to align multiple cells that arent contiguous (they dont touch each other) by pressing and holding the Ctrl key in Windows while you click the cells you want to select. On the Mac, you press and hold the Command key (") while you click to select particular cells. Any options you change on the pop-up menu or in the Table Properties inspector apply to all selected cells. Figure 6-7: You can access many formatting options by selecting an element, such as a table, and then rightclicking (Windows) or Ctrl+ clicking (Mac). 168 Part III: Advancing Your Site Sorting Table Data When youre working with lots of columnar data, you want to be able to sort that data, just as you do in a spreadsheet program, such as Excel. In this newest version of Dreamweaver, you can now sort data even after its formatted in HTML (something you couldnt easily do before). You still dont have as many options as you do in Excel. For example, you cant sort different rows individually, but you can sort an entire table based on any row you specify. To use the Sort Table Data feature, create a new, blank HTML page, add a table with several rows and columns, and add some content (I explain how in the preceding section). You may also open an existing page with a table of columnar data. Then, follow these steps: 1. Select the table you want to sort. Place the cursor in any cell of the table you want to sort. 2. Make sure that youre in Standard mode. (Choose View?Table Mode? Standard Mode.) 3. Choose Commands?Sort Table. The Sort Table dialog box appears, as shown in Figure 6-8. Figure 6-8: You can use the Dreamweaver Sort Table Data