Editing Drupal Tables

If you've already created a table and want to edit it, there are several controls available which allow you to do this.  If you right click over the table (Apple + click on a Mac), then a drop-down menu appears which lets you easily add and delete rows and columns, as well as providing a range of other options.

If you wish to modify an individual cell in your Drupal table, then from the Cell menu, choose the last item on the list 'Cell Properties'.  This allows you several options, including the following:

 

Word Wrap If you have a column that should always remain on one line (e.g. short titles), then you can change Word Wrap to 'no' and it will then keep all the words on the same row.
Horizontal Alignment This lets you determine if the contents of a cell is left, right or centrally aligned.
Vertical
Alignment
By default in HTML a table is middle aligned vertically, this means that the contents of a table float to the vertical middle of each cell.  You may wish to change this to 'Top' to prevent this from happening for a certain cell.
Background
Colour
Give the cell a background colour.
Border
Colour
Give the cell a border colour.

 

If you've found this inserting tables in Drupal tutorial useful, then you may also be interested in our Drupal end-user guide.