How to Create a Table in the Knowledgebase

This is a tutorial on how to organize your information in a table using Textile web text markup-language.

Let’s say that this is the table you would like to create:

Name Birthday Albert January 11 Jeffrey August 17 Sara February 15

1. Begin and end each row of your table with a vertical bar, or |. Also, insert a vertical bar between text to differentiate one column from the next. Thus your first row should look like this:

|Name|Birthday|

2. Follow the same format for the additional rows:

|Name|Birthday|
|Albert|January 11|
|Jeffrey|August 17|
|Sara|February 15|

Now your table should look like this:
|Name|Birthday|
|Albert|January 11|
|Jeffrey|August 17|
|Sara|February 15|

3. To distinguish the column headers, bold the text in the first row:

|*Name*|*Birthday*|
|Albert|January 11|
|Jeffrey|August 17|
|Sara|February 15|

4. Finally, if you would like to put a border around your entire table insert CSS coding.

table{border:1px solid black}

  • “1px” refers to the thickness of the line in pixels. The higher the number the thicker the line.
  • “solid” distinguishes the style of the line. You can also use dotted, dashed, double, groove, ridge, inset, or outset.
  • “black” is the color. You can also insert the name of another color such as red or gray.

table{border:1px solid black}
|*Name*|*Birthday*|
|Albert|January 11|
|Jeffrey|August 17|
|Sara|February 15|

Which will look like this:

Name Birthday Albert January 11 Jeffrey August 17 Sara February 15

For more tips, go to http://swik.net/Textile

Also see UCLA KB formating.