Authoring With Course Cafe
Tables
By Administrator
First published on May 11, 2019. Last updated on May 11, 2019.
Course.Cafe provides several approaches for including tables in content. That said, it may be a challenge to get the formatting just right. So you might have to tweak and experiment to get things to appear more desirable.
Editing toolbar table creation tool
There is a table creation tool in the text editing tools toolbar. If that tool is insufficient, you can enter HTML and CSS in using the Edit tab. Below is an example of a table created by the Table tool.
Type | Variety | Color |
Fruit | Banana | Yellow |
Vegetable | Eggplant | Purple |
Table short code
You can also use [table]…[/table] short codes, with values in between, e.g.
[table]
Year,Make,Model,Length
1997,Ford,E350,2.34
2000,Mercury,Cougar,2.38
[/table]
which will produce a table such as:
Year | Make | Model | Length |
---|---|---|---|
1997 | Ford | E350 | 2.34 |
2000 | Mercury | Cougar | 2.38 |
Creating a table with HTML and CSS
You can enter the Text mode and use HTML and CSS to manually create a table. An example of an HTML and CSS table is:
Year | Make | Model | Length |
---|---|---|---|
1997 | Ford | E350 | 2.34 |
2000 | Mercury | Cougar | 2.38 |