Add a border around a form
You can add a border around an entire form by placing the layout and controls on the form into a single-cell layout table and then adding a border to that cell.
- In design mode, press CTRL+A to select the contents of the entire form, and then press CTRL+X to cut the selection and place it on the clipboard.
- On the Insert menu, click Layout Table.
- In the Insert Table dialog box, enter 1 in the Number of columns and Number of rows boxes, and then click OK.
A single-cell layout table is inserted into the form.
- Right-click the layout table, and then click Borders and Shading on the shortcut menu.
- In the Borders and Shading dialog box, click the Borders tab.
- If you want to specify formatting options for the border, do any of the following:
- To specify a custom line style, click the style that you want in the Style list.
- To specify a color, click the Color arrow, and then click the color that you want.
- To specify a custom width, click the width that you want in the Width list.
- Under Presets, click Outline, and then click OK.
- Place the insertion point inside the layout table, and then press CTRL+V to paste the form contents into the layout table.
To change the amount of space between the border of the layout table and the contents of the form, follow these steps:
- Right-click the layout table, and then click Table Properties on the shortcut menu.
- In the Table Properties dialog box, click the Cell tab.
- Under Cell padding, enter the amount of space that you want.