Search our Site: sitemap
EC106
Effective Communication
in New Media

Class 6

Topics:

Review Midterm

  • Presentation of Midterm papers.
  • Go over Midterm.

Tables ll

Designing Page Layout: In Layout view, you can design your page using tables as the underlying structure.

  • On the bottom of the Object Panel, you will find View choices. Standard or Layout View. Or - View > Table View > Layout View.
  • On the Object Panel, in the Layout section, just above the View section, you'll find buttons for Draw Layout Cell and Draw Layout Table.
  • In Layout view, you can add a table by choosing Draw Layout Table.
  • This will help you 'block out' your page design.
  • DW4 adds a Layout Table automatically when you select Draw Layout Cell.
  • A Layout Cell cannot exist outside of a table.
  • You can create your page design using several Layout Cells within one Layout Table or you can use multiple Layout Table.
  • You can also Nest Layout Tables (inserting a Layout Table into an already existing cell).
    • To draw a Layout Cell:
      1. Make sure you are in Layout view.
      2. Click the Draw Layout Cell button in the Layout Category of the Objects panel. The mouse pointer will change to a plus sign (+).
      3. Position the mouse pointer where you want to start a cell or table on the page.
      4. Drag to create the Layout Cell.
      5. To drag out a second Layout Cell, you must re-click the Layout Cell button, each time.
      6. To create a number of cells without clicking the Layout Cell button each time, hold down Control (Windows) or Command (Macintosh).
    • New cells will appear outlined in blue on your page.
    • The size of each cell is displayed in the Column Header area, along the top of the table.
    • Layout follows a grid with columns and rows.
    • Cells can span several rows or several columns (by merging cells), but they can never overlap.
    • DW4 maintains this structure by automatically snapping new cells onto existing cells, when you drag them near enough to each other (within 8 pixels).
    • The cells will also automatically snap to the side of the page if you draw them near the edge (within 8 pixels) of your monitor.
    • To temporarily disable snapping, hold down Alt (Windows) or Option (Macintosh) while drawing the cell on the page.
    • To draw a Layout Table:
      1. Make sure you are in Layout view.
      2. Click the Draw Layout Table button in the Layout Category of the Objects panel.
      3. The mouse pointer will change to a plus sign (+).
      4. Position the mouse pointer on the page.
      5. Click and drag your mouse to create the Layout Table.
      6. If this is the first table you are drawing on the page, it will automatically be positioned at the top left corner of your page.
      7. To create a number of tables without clicking the Layout Table button each time, hold down Control (Windows) or Command (Mac).
    • A table will appear outlined in green on your page.
    • The Layout Table tab also appears at the top left of each table, which helps to identify that table.
    • The size of each table is displayed in the Column Header area along the top of the table.
    • Tables cannot overlap each other.
    • DW4 maintains this structure by automatically snapping new tables that you create to existing tables or cells if you draw them near each other (within 8 pixels).
    • The tables will also automatically snap to the side of the page if you draw them close to the edge (within 8 pixels) of your monitor.
    • To turn off snapping, hold down Alt (Windows) or Option (Mac) while drawing the table on the page.

Note: If your page already contains content, a Layout Table can only be drawn below the bottom of the content.

    • To draw a Layout Table around existing tables:
      1. Make sure you are in Layout View, not Standard View.
      2. Note how when you change table views, any existing table changes to Layout View mode (green border with green tab)
      3. Click the Draw Layout Table button in the Layout Category of the Objects panel.
      4. The mouse pointer will change to a plus sign (+).
      5. Click and drag your mouse around existing layout cells or tables.
      6. Your new Layout Table will enclose the existing cells or tables.

Grid... anyone?

    • DW4's Grid can be used as a guide, when you are designing page layout.
    • You can have your elements, cells and tables automatically snap to the grid.
    • Choose View > Grid > Show Grid.
    • You can edit a Grids attributes: View > Grid > Edit Grid.
  • Adding Content to your new Table:
    • Add text, images and other media to your table in Layout View.
    • Click in the cell where you want to insert your content.
    • Then, insert your elements with the Properties Inspector.

  • Moving and Resizing Layout Cells and Tables:
    • Every Layout Cell and Layout Table can be moved or resized, which makes it easy to adjust your page design.
    • To resize a cell:
      • Click anywhere in the cell.
      • Selection handles will appear around the selected cell(s).
      • Use the selection handles to drag the cell(s), as desired.
    • To move a cell:
      • Select the cell, click cell edge.
      • Drag the cell where you want it.
      • You can use the arrow keys to move the cell.
      • The arrow key moves it one (1) pixel at a time or holding down Shift to move it ten (10) pixels at a time.
    • To resize a table:
      • Click the Table Tab, green tab, top left of table.
      • Selection handles will appear around theLlayout Table.
      • Use the selection handles to drag the table, as desired.
  • Formatting a Layout Cell or Table:
    • You can set content alignment, width and height, and background colors for any cell or table.
    • Select the cell or table and edit the Property Inspector.
  • Setting Layout Width:
    • There are two types of widths you can use in Layout view: Fixed and Autostretch.

      Fixed Width is a specific numeric width, such as 300 pixels and is displayed as a number in the column header.

      To set fixed width, do one of the following:

        1. Select a cell from the column you wish to fix the width.
        2. Fill in the appropriate number in the width section of the Properties Inspector.


      If the cell is set to AutoStretch and you want to change to Fixed:

        1. Click on the Column Header
        2. Choose Make Column Fixed Width from the Column Header menu.
          • Make Column Fixed Width automatically sets to the width of the content in that column.
        3. Select the cell, then in the Property Inspector, click Fixed and type a numeric value.
          • If you enter a numeric value that is less than the width of your content, DW4 will automatically set the width to the width of your content.


      Autostretch
      sets the width to resize automatically depending on the window size and is displayed as a wavy line in the column header.

        • With Autostretch, your layout always fills the browser window.
        • Only one column in a layout can be autostretch.
        • Probably best to assign the Autostretch column last and have it be in the last colume or the first column.

          To set Autostretch, do one of the following:

        1. Go to the top of the column that you want to set to Autostretch and select the Column Header menu
        2. Select Make Column Autostretch.
        3. Remember, only one column can be autostretch.
        4. Or, select the column cell, then click Autostretch in the Property Inspector.

          When you set a column to Autostretch, DW4 will insert Spacer Images in the fixed width columns to control the layout.

  • Using Spacer Images:
    • Spacer Image: a transparent image that is not visible in the browser window and is used to control spacing in a tables.
    • In order for DW4 to make a column an Autostretch column, it needs to create and place Spacer Images in the other columns.
    • The Spacer Image can maintain the width of cells and table.
    • You can insert and remove Spacer Images in each column.
    • DW4 adds them automatically when you creating an autostretch column.
    • Columns that contain Spacer Images have a double bar in the Column Header.
    • When you insert a Spacer Image in a column or set a column to Autostretch, a dialog box appears that asks how you want to set up your Spacer Image file.
    • To set up a Spacer Image:
      • Set a column to autostretch or choose Add Spacer Image from the Column Header menu.
      • The Choose Spacer Image dialog box will appear.
      • Choose from the following options:
        • Make Spacer Image.
        • Use Existing Spacer Image (only if you have a spacer image already created).
        • Don't Use Spacer Images (option not often selected).
      • Either way, you get save or find the Spacer Image(s) needed to a directory of your choice.

      Note: All the Spacer Images needed will be save here for your entire site, from now on.

      Understand: DW4 places Spacer Images into the other columns and assigns an auto stretch tag to the column you have selected.

    • To insert a Spacer Image into a column:
      • Select Add Spacer Image from the column Header menu.
      • The Spacer Image will be inserted into the column.
      • You will not see the image, but the column may shift slightly, if the spacer is larger then the current cell size.
      • Once the Spacer Image is placed, a double bar will appear at the Column Header.
    • To remove a Spacer Image from a column:
      • Select Remove Spacer Image from the Column Header menu.
      • The spacer will be removed.
      • The column may shift.
    • To remove all Spacer Images from your page:
      • Select Remove all Spacer Images from the Column Header menu.
      • Or click the Remove all Spacers button in the Layout Table Property Inspector.

Setting Layout View preferences: Use the Layout View category in the Preferences to set or change Spacer Image files and locations, as well as the colors that Layout View uses to draw the tables and cells, and so on.

  • To open Layout View Preferences:
    • Choose Edit > Preferences.
    • Select Layout View from the Category list.
    • Autoinsert Spacers specifies whether or not DW4 should automatically insert spacer images when you make a column autostretch.
    • Spacer Image sets the spacer image file for your sites. Choose a site from the drop-down menu and then create a new image spacer or browse to an existing image spacer in that site.
    • Cell Outline sets the color used to draw the cell outline.
    • Cell Highlight sets the color that highlights the cell when you move the mouse over or choose a cell.
    • Table Outline sets the color used to draw the table outline.
    • Table Background sets the background color of the Document window.

In Class Project

  • Create Prado2000 site:
    • View the layout and graphics for the Prado Project.
    • Download the images needed to complete the project.
    • Define Class_6 as a New Site.
    • Create a new page and save as prado_main.htm
    • Modify > Page Properties:
      • Background: #FF3300
      • Text: #FFCC00
      • Links: #00FF00
      • Visited Links: #9900FF
      • Active Links: #FFFFF
    • Study the page layout - right mouse click in your browser and select View Source.
    • On Paper, plan the site structure of the site.
      • How many tables are there?
      • What is the W & H of the table(s)?
      • What are the sizes of each of the images?
      • What kind of buttons are used?
      • Where will you link the buttons?
    • Create the table(s) required for the structure of the site using either Standard or Layout View.
  • Create Percentage Site:
    • Use the Prado images, create a version of the Prado Project using a table width of 100%.
    • Make sure there is a space, 50 pixels wide of white, on the right side at all times.

Looking at the Site Map for Project 2

  • In class, student show their Project 2 site map.
  • We take the time to anwer question to ensure everyone is on the right track to completing Project 2.

Mark to Date

  • Each student will have the opportunity to see their mark date.
Class 1 / Class 2 / Class 3 / Class 4 / Class 5 / Class 6 / Class 7 / Class 8 / Class 9 / Class 10 / Terms