FETAC Web Authoring

Table Properties

Note:  If  you use the Table menu –Insert- Table and then set table properties the properties that you specify for the new table will be used as the default properties the next time you create a table.  It may be better to use the default properties and then right click to bring up Table Properties and then set the properties you want.

 

Click into the Specify height box and the In percent radio button if you want to get your table to take up a certain percentage of the page. 

Other table properties:

<table border="1" width="100%">

 

  <tr>

    <td width="50%">cell 1 row 1</td>

    <td width="50%">cell2 row 1</td>

  </tr>

  <tr>

    <td width="50%">cell 1 row 2</td>

    <td width="50%">cell 2 row 2</td>

  </tr>

 

</table>

Ø      Text Alignment (Left, Right, Center, Justify)

Ø      In the Float box, specify whether you want text to flow around the left or right of the table. If you do not want text to flow around the table, select Default.

Ø      In the Cell padding box, enter how much space to allow between the contents and inside edges of cells, in pixels. 

 

In the Cell spacing box, enter how much space to allow
between the cells in the table, in pixels.

Ø      Borders can be varied in thickness (including =0) and colour.

Ø      Background (fill) colour can also be set.

Table displayed by the HTML shown 

cell 1 row 1 cell 2 row 1
cell 1 row 2 cell 1 row 2

 

Cell Properties

You can set the layout of an individual cell and its content by
changing cell properties.

Ø      Select the cells for which you want to set the layout.

Ø      Right-click, and then click Cell Properties.

Ø      In the Horizontal alignment and Vertical alignment boxes,


select the alignment you want for the contents of the cell.

Ø      To set the cells as header cells and emphasize them, select Header cell. By default, the emphasis is bold text.

Ø      To prevent Web browsers from wrapping text in the cell, select No wrap.

Tables Toolbar

From the View menu choose Toolbars and Tables if you wish to display the Tables Toolbar.  With this you can insert rows, columns, merge and split cells, set alignments and Fill colours.


Lesson Material List | Home Page | List of Assignments