Tools - Table cell

This tool is used to create and edit the table row tag TR.

You launch the Table Cell window from the Main Menu / Tools / Tables / Table Cell, as well as from the Tables and Forms toolbar.

Cell type selection

In the Cell Type group, indicate which cell you want to create. Header cells differ from regular cells by their default text formatting.

ordinary (TD)
Select if you want to create a regular table cell (defaults to plain text).

header (TH)
Select if you want to create a table header cell (bold text by default).

If you are re-editing an existing table cell, these options will be inactive (set according to the existing type).

Tag settings

Cell contents
In this field you can write text that will be placed in the cell you are editing. With the button on the right you can start:

Width
Select a value that will be the width of the cell. If you check the switch to the right of the box, the size given will be inserted as a percentage.

Height
Select the value that will be the height of the cell. If you check the toggle on the right side of the box, the specified size will be inserted as a percentage.

Horizontal alignment
Select from the list how to align the cell contents horizontally.

Vertical alignment
Select from the list how to align the cell contents vertically.

Combine columns (colspan)
If you want to merge several cells in consecutive columns, enter the appropriate number of cells to merge in this field.
Remember to reduce the number of cells in the current row in the HTML code accordingly, so that the sum of all Colspan values in this row equals the number of columns in the table (with the absence of this attribute in the TD/TH tag indicating a default value of 1).

Connect the lines (Rowspan)
If you want to merge several cells in consecutive rows, enter the appropriate number of cells to merge in this field.
Remember to reduce the number of cells in consecutive rows in the HTML code accordingly, so that the sum of all Rowspan values in a row equals the number of rows in the table (with the absence of this attribute in the TD/TH tag indicating a default value of 1).

Element style

This group allows you to specify the style for the tag. Here you will find three fields that allow you to specify:

Style definition
In this field you define the style for the element placed in the document. The button next to it launches the style editor tool to create a style definition in a user-friendly and convenient way. By clicking there you can also modify an existing style.

Class selection
In this field you specify the name of the class that will be assigned to the tag. The drop-down list allows you to access the classes defined in the current document and in the external style sheets attached to it. The button next to it launches the tool for creating a new class.

Item ID
Here you provide a unique identifier for this element in the document. These identifiers can be used, for example, when making jumps to specific parts of the page or in scripts.

"Events and Attributes" button

The "Events and Attributes" button allows you to open the Events and Other Attributes window. This window allows you to specify additional attributes of the edited tag that do not have their counterparts in the tool window. There you can also specify events for scripting languages that allow you to achieve various special effects.

Related topics

To top