This article will show the basics of using a table to display rows and columns of text, insert a table.
Tables are displayed on your site by adding the table to a Text Editor. In this article, we use the Text/Graphic editor tool to display a table. See the Text/Graphic Editor Tool article for instructions about adding the Text/Graphic Editor tool to a page.
Insert a table
In the Text/Graphic Editor tool, select the Table icon.
![TT_1.jpg](/hc/article_attachments/360013421193/TT_1.jpg)
Selecting the Table icon will open the Table Properties window.
Table Properties
![TT_2.jpg](/hc/article_attachments/360013421513/TT_2.jpg)
- Rows are horizontal and Columns are vertical. Enter the numbers you wish into the boxes. Don't worry if you need to add or remove some later, we can do that.
- Header options include None, First Column, First Row, or Both. Cells in the header are centered and bold. We recommend to always use some type of header for accessibility purposes.
- Border size describes the thickness of the surrounding edge of the table.
- Alignment describes the alignment of the table on the page. Your choices are left, center, and right.
- Width can be expressed in pixels or percentage. We recommend always using a percentage (preferably 80-100%) when creating a table for responsive reasons.
Height is simply how high or tall you want the table to be. If you leave this blank (recommended), the table will adjust the height based on the table content. - Cell spacing controls the space between table cells.
- Cell padding sets the amount of space between the contents of the cell and the cell wall.
Why Make Tables Responsive & Accessible
- Tables should only be used to display relational data.
- Tables need Headers to be accessible.
- Tables may use captions for accessibility.
- Tables must have a percentage width for responsiveness.
How to Make Tables Responsive & Accessible
Within an editor check the Table Properties for the following properties to be set as follows:
- The width should be a percentage of the page or section (80%-100% is recommended)
- Headers should be added.
- Select one of the options then update the table when the properties are saved
- A caption may be added.
Table Display
![TT_3.jpg](/hc/article_attachments/360013393594/TT_3.jpg)
The table displayed above contains 3 rows and 2 columns, first row headers, and a width of 100%. It's a good place to start for us. As text is entered into a cell, the width of the cell adjusts to accommodate the size of the text. To move from cell to cell, use your Tab key.
To format text, including hyperlinks, simply highlight it and use the buttons in the toolbox at the top, just like you would for any other text in the Text/Graphic Editor tool.
Table Right-Click Options
- Paste: Allows you to paste content into a cell.
- Cell: See the Cell Options section below for details about the different options.
- Row: There are options to insert a row before the current row, insert a row after the current row, or delete the current row.
- Column: There are options to insert a column before the current row, insert a column after the current row, or delete the current column
- Delete Table: Option to delete the entire table.
- Table Properties: Opens the initial table properties window. You are able to edit all the table properties except the rows and column number.
Cell Options
![TT_5.jpg](/hc/article_attachments/360013394654/TT_5.jpg)
- Insert Cell Before: Inserts a cell before the cell selected
- Insert Cell After: Inserts a cell after the cell selected
- Delete Cells: Deletes the selected cells.
- Merge Cells: This option will only be available if multiple cells are selected. Merges the selected cells.
- Merge Right: Merges the selected cell with the cell to the right
- Merge Down: Merges the selected cell with the cell a row below
- Split Cell Horizontally: Splits the current cell into 2 rows of cells
- Split Cell Vertically: Splits the current cell into 2 columns of cells
- Cell Properties: Opens the cell properties window the following options:
- Width and Height (in pixels)
- Word Wrap can be set to yes or no. Note that text may not be visible if this is set to No.
- Horizontal alignment and Vertical alignment of cell text can be set
- Cell Type can be set as either header or data.
- Rows Span and Columns Span allows a single table cell to span the width or height of more than one cell or column.
- Background Color allows you to set a background color for the table. If you do use this make sure that you either have dark text on a light background or light text on a dark background. Using this feature will override an existing code for colors on your site.
- Border Color allows you to set a border color for the table.
Remove Table Borders
- Click anywhere within the table.
- Right-click and choose Table Properties from the menu options.
- Set the Border Size 0.
- Click OK.
0 Comments