MS FrontPage Tutorial -- University Outreach and Extension

Tables

Tables are used much more in web pages than in normal word processing. It's important to understand the many ways tables can be manipulated and controlled.

Table Properties effect the entire table, while Cell Properties effect only individual cells.

If you set cell properties the way you want them in the first row of a table, when you add new rows, the same properties will be copied to the new cells. Therefore, it's a good practice to start out with a table of one row by however many columns you need, set the cell properties, then use the tab key to add subsequent rows.

To create a table:

  1. Click and hold the "Insert Table" icon on the Standard Toolbar
  2. Use the mouse to select the number of rows and columns you desire
  3. Release the mouse button and your table will appear on the page. Here is a basic 3x1 table:
     

Table properties

Layout settings:

This table has these settings: Alignment = center
Float = default
Border Size = 1
Cell Padding = 5
Cell Spacing = 3
Width = 50%

Minimum Size settings

The size of a table can be controlled either in exact pixel values, or the relative percentage of a browser window. There are advantages to each, depending on the application. In many cases it is desirable to not specify any size, but let the table adjust to the size of the content within it.

You can adjust these values as needed, but here are a couple suggestions:

This table is 600 pixels wide.

Try resizing your browser window to see the difference between a table with an exact pixel width setting and one with a percent width setting.

This table is 100 percent wide.

Custom Background and Custom Colors

If you want to use a background color or background image within your table, specify it here. This adds a nice effect to highlight your table, whether you are using borders or not.

Note: There is a place in "cell properties" to specify background colors as well, however as of this writing (2/98) it does not work well in all browsers. Most current browsers (since Netscape 2.0 and MSIE 2.01) will honor background colors and images in table properties, but not necessarily in the cell properties. So, if you're going to add colors, do it here.

Caution:

The "Style" button on the Table Properties screen implements features that are only supported currently in MS Internet Explorer 4.0. I strongly suggest that you DO NOT use this section until it becomes more widely supported.

Cell Properties

Cell Properties screen in MS FP 98Layout

Horizontal Alignment and Vertical Alignment settings control the alignment of text and graphics within a cell.

If you place a check in the box nest to NOWRAP, the contents of the cell will not wrap to fit, but force the table to expand if necessary to fit the width of the contents.

Minimum size

As in the table properties, you have the choice of specifying the size by pixels or percent. However, this setting will only effect the one cell you are addressing. In addition, the percent measure here indicates a percentage of the table width, rather than a percentage of the browser width.

All cells in one row must be the same height, and all cells in the same column must be the same width. Setting a width for the top cell in a column will force all the cells directly below it to have the same width. Setting a height value for any one cell in a row will force the rest of the cells in the same row to have the same height. You do not need to set width for every cell in a column or the height for every cell in a row.

If you assign percentage values to widths of cells in a row, they should not total more than 100%. If they do, you will get unpredictable results, as different browsers handle this situation differently.

If you set a width for the entire table, you can set width values for some or all cells, but it is not required. If no values are set, the widths will vary according to the size of the content within them.

Cell span

Sometimes you will want larger cells in your table. You can achieve this by "spanning" a cell across two or more columns or rows.

Custom Background and Custom Colors

As mentioned above, most current browsers do not honor these values when set for individual cells. We recommend that you do not use this feature until it is more widely supported.

Caution:

The "Style" button on the Table Properties screen implements features that are only supported currently in MS Internet Explorer 4.0. I strongly suggest that you DO NOT use this section until it becomes more widely supported.

Notes about tables:

Previous | Home | Next


University Outreach and Extension Kate Akers, kate@oseda.missouri.edu
Webmaster, University Outreach and Extension
Last modified: 08/27/02