If you have information for your site that needs to be laid out in an organised structural manner, such as a price list or menu, we recommend that you use the Insert/Edit Table option on the Web Editor toolbar. This tool allows you to add a table that has been set to your requirements to the page you are editing. Once it has been added you can change the size and appearance of the entire table or of each cell individually.
When you click on the Insert/Edit Table button on the toolbar a pop-up box will appear (see Figure 3.9.1), allowing you to edit the overall structure and appearance of the table you wish to add. A breakdown of all the different parameters you can set are given below. Once you have set all the options you wish to include, hit the OK button and your table will be added to the page.
Rows
This option allows you to set the number of rows in your table.
Columns
This option allows you to set the number of columns in your table.
Width
This option allows you to set the width of your table. This can either be done using pixels or a percentage.
Height
This option allows you to specify the height of your table. This is not an essential value to include, if it's not set the table's height will still grow to the same size as the content it contains.
Border size
This option allows you to set the size of the border around the outside of your table.
Alignment
This option allows you to align the entire table either to the left, right or centre of your page. It's worth noting that giving your table one of these values does not affect the alignment of the text it contains.
Cell spacing
This option allows you to set the space between individual cells within the table.
Cell padding
This option allows you to set the space between the text in a table cell from its surrounding edges.
Caption
This option allows you to set a title that appears just before the table is shown.
Summary
This option allows you to give the table an overall summary. This is never displayed on your page and has been exclusively designed for browsers used by the blind and partially sighted.
Once you have started adding the content to your table, if you feel that the layout isn't quite right, you can now go back and edit different aspects of the table. The table management options allow you to add and remove rows or columns, change the look of an individual cell, and split and merge them together to create the overall look and layout that you desire.
If you would like to remove more than one cell, hold down the Left Mouse Button and drag the mouse over the cells you wish to delete, so that the text is highlighted and then follow the steps above.
To merge two or more table cells together you will need to complete the following instructions:
To turn a single table cell into two separate cells:
If you wish to change the appearance of a single cell, you can do this by accessing the Cell Properties pop-up. From here you can change its dimensions, colour and alignment amongst other characteristics. To open the pop-up, complete the following steps:
A breakdown of the different attributes you can give your chosen cell are shown below.
Width
This option allows you to set the width of an individual table cell. It's important to remember that when you change the width of a cell, the table will assign the same width to all the cells in the same column. Also, if the content of your cell is wider than this width, (for example, an image) the cell will strect to fit the content.
Height
This option allows you to set the height of an individual table cell. It's important to remember that when you change the height of a cell, the table will assign the same height to all the cells in the same row. As with the width, if the content of your cell is taller than the specified height, the cell will stretch.
Word wrap
This option allows you to turn the word wrapping facility on or off for a specific cell. The default setting is On which means that when the text reaches the right hand side of a fixed width cell, it will continue on a new line. If you decide to turn this function off, the text will remain in one line and the table cell width will expand. Our recommendation is that you keep this option turned on.
Horizontal alignment
This option allows you to change the alignment of the text inside a table cell just like in a Word Processor. The values you can choose from are Left, Centre and Right. The default alignment of a cell is set to Left.
Vertical alignment
This option allows you to change where the text is positioned in a table cell relative to its height. The values you can choose are; Top, Middle, Bottom or Baseline. The default vertical alignment of a cell is set to Middle.
Rows span
This option allows you to merge your chosen cell with one or more cells below its position in the table.
Columns Span
This option allows you to merge your chosen cell with one or more cells to the right of it in the same column.
Background colour
This option allows you to set the background colour for an individual cell. To pick a colour click on the Select button, and then choose one of the colours from the colour palette by clicking on it and hitting the OK button. Alternatively if you know the hexadecimal number of the colour you wish to use, type it into the white box under the Selected title and then press OK. Remember to add a hash (#) before you type in the number.
Border colour
This option allows you to set the border colour for an individual cell. To pick a colour click on the Select button and then choose one of the colours from the colour palette by clicking on it and hitting the OK button. Alternatively if you know the hexadecimal number of the colour you wish to use, type it into the white box under the Selected title and then press OK. Remember to add a hash (#) before you type in the number.