Lesson 4: Cell widths in the same column can vary
In this lesson, you generate a table with cells that are
in the same column and that have different widths.
About this task
- The row height adjusts for cells with more content in them.
- Cell width values entered by the user are adhered to when the output is generated.
- Cells in the same column can have the different widths.
Procedure
Test the output
Procedure
- Click the
Preview current document icon. - Click Yes to continue without configuring the other outputs.
- In the Results window, click the link to the PDF.
Results

Example
To create
different cell width values:
- In the Document Studio application, select the
Row element
and drag it into the table element, after the existing row. - Select the first cell in the second row.
- In the Properties view, expand .
- For the cell width property, enter 75.
- Select the second cell in the second row.
- In the Properties view, expand .
- For the cell width property, enter 75.
- Select the third cell in the second row.
- In the Properties view, expand .
- For the cell width property, enter 100.
- Rename the heading:
- Double-click the text element contained in the paragraph element.
- Enter Table 3: Different cell widths in a column.
- Click OK.
- Save the changes.
- Test the output.
If you changed the cell widths for the second row and the total equals that of the first row, the cells adjust, but the table itself is the same size:

To
remove the cell width values:
If you removed the cell widths from each cell element, all
column widths are the same in the table. The row height is adjusted
to allow for the content in them:- In the Document Studio application, select Cell 1.
- In the Properties view, expand .
- For the cell width property, delete the value.
- Repeat step 3 to remove the cell width values for Cell 2 and Cell 3.
- Rename the heading:
- Double-click the text element contained in the paragraph element.
- Enter Table 3: No cell widths specified.
- Click OK.
- Delete the second row from the previous example, if it is still in the template.
- Save the changes.
- Test the output.

Lesson checkpoint
You generated a table with cell widths that vary.