[ Pobierz całość w formacie PDF ]
.In the Width field, specify the width of the table as a number of pixels or as apercentage of the browser window.In the Border field, specify the pixel width of the table border.Enter 0 if youdon t want a border.3 Click OK to create the table.If you want to insert a table without having to first specify these options, turn offthe Show Dialog When Inserting Objects option in the General preferences.See Setting preferences on page 73.216 Chapter 8 Adding content to a table cellYou can add text and images to table cells.You can also set properties of an imagethat you insert in a table.To add text to a table:1 Click in a cell in which you want to add text, and do one of the following:Type text into the table.Table cells automatically expand as you type.Paste text copied from another document.Use the Paste as Text commandto preserve paragraph markers.See  Adding text and inserting objects onpage 88.2 Press Tab to move to the next cell or press Shift+Tab to move to the previouscell.Pressing Tab in the last cell of a table automatically adds another row tothe table.You can also use the arrow keys to move between cells.To add an image to a table:1 Click in the cell in which you want to add an image.2 Click the Insert Image button in the Common panel of the Object palette, orchoose Insert > Image.3 In the Select Image Source dialog box, select an image file.For information on setting image properties, see  Setting image properties onpage 201.Creating Tables 217 Importing table dataData that has been created in another application (such as Microsoft Excel) andsaved in a delimited format (separated by tabs, commas, colons, semicolons, orother delimiters) can be imported into Dreamweaver and reformatted as a table.To import table data:1 Do one of the following:Choose File > Import > Import Table Data.Choose Insert > Tabular Data.The Import Table Data or Insert Tabular Data dialog box appears, dependingon your selection.Aside from their titles, these dialog boxes are identical.2 In the Data File field, enter the name of the file to import.3 From the Delimiter pop-up menu, select the delimiter format that matches theformat of the document you re importing.If you select Other, a field appears to the right of the pop-up menu.Enter thedelimiter that was used to separate the table data.Note: If you do not select (or specify) the delimiter used when the file was saved, the filewill not import properly, and your data will not be correctly formatted in a table.No erroror warning message displays to alert that there is a problem.4 For Table Width, select one of the following options:Select Fit to Data to create a table that adjusts to the longest text string in eachtable column.Select Set to specify a table width as a percentage of the browser window or as anumber of pixels.218 Chapter 8 5 Select table formatting options:In the Cell Padding field, specify the number of pixels between the cell contentand the cell boundary (or wall).In the Cell Spacing field, specify the number of pixels between each table cell.In the Format Top Row field, select from four formatting options: noformatting, bold, italic, or bold italic.In the Border field, specify the pixel width of the table border.Enter 0 if youdon t want a border.6 Click OK.Selecting table elementsWith a single gesture you can select an entire table, row, or column, or acontiguous range of cells within the table.Once the table or individual cells areselected, you can do the following:Modify the appearance of selected cells or the text contained in them.See Formatting tables on page 221.Copy and paste adjacent cells.See  Copying and pasting cells on page 226.You can also select multiple nonadjacent cells in a table and modify the propertiesof those cells.You cannot copy or paste nonadjacent cell selections.To select the entire table, do one of the following:Click the top left corner of the table, or click anywhere on the right orbottom edge.Click once in the table and choose Modify > Table > Select Table.Click once in the table and choose Edit > Select All.Position the insertion point anywhere inside the table, and select thetag at the bottom left corner of the Document window.Selection handles appear around the table when it is selected.Creating Tables 219 To select rows or columns, do one of the following:Position the insertion point at the left margin of a row or at the top of acolumn.Click when the selection arrow appears.Click in a cell, and drag across or down to select multiple rows or columns.To select one or more cells, do one of the following:Click in a cell, and drag down or across to another cell.Click in one cell and then Shift-click another cell.All of the cells within therectangular region are selected.To select nonadjacent cells, do one of the following:Press Control (Windows) or Command (Macintosh) and click in the table toadd cells, rows, or columns to the selection [ Pobierz całość w formacie PDF ]

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • hanula1950.keep.pl