Skip to content

This guide provides instructions and information about Stanford Web Services Jumpstart platform, based on Drupal 7.

We've released our new Stanford Sites on Drupal 8 (D8) platform — the new framework for Stanford Sites in 2020 and beyond. Check out our new User Guide to help you set up your website on the D8 platform. 

Read more about our road to D8 

Add and format tables

Tables should only be used for tablular data, not for layout or positioning items like images next to text.

Creating a table

  1. In the WYSIWYG editor, click the table icon.
  2. Decide how many rows and columns you want.
  3. It is also best practice to include a table header row or column or both.
  4. Delete the width and height (Drupal will fill the max width based on the display device).
  5. Click OK.

Table properties window

Editing a table

Right-click an existing table to edit the table properties. Here you can edit cells, and the number of rows and colums.

Table properties

Example table

Here is an example of content that is suitable for an HTML table:

Olympic Medals, country by year
Year USA CHN RUS
2012 104 88 82
2008 110 100 72
2004 103 62 92

 

Advanced option: your website has the capability to build tables for you via database query. If you need some or all of the content of a table to be dynamically generated, please consider one of Stanford's Drupal training offerings from IT Services Technology Training to explore what is possible with this tool.