How to create tables

A place for learning how to use the PHPBB features of this forum, creating test posts, and so forth. VISIBILITY: Public
Post Reply
User avatar
Site Admin
Site Admin
Posts: 148
x 261
x 35

How to create tables

Post by admin » Fri Aug 07, 2015 4:42 pm

To create a table, while posting using the full editor:
  1. Click the "table" button in the bbcode button list (third row of the buttons in the editor).
  2. Click the "tr" (table row) button.
  3. Optional: If you want a header, click the th button, then type in your header content, then move past the [/th] code, and repeat for each column heading you want. Then move past the [/tr] code, and click the "tr" button to start a new row.
  4. Click the "td" (table data) button, type in your content, then move past the [/td] code, and repeat for each cell you want. (Then optionally press Enter to make it easier to read the codes when editing.)
  5. Move past the [/tr] code, then repeat step 2 for each new row you want.
  6. Make sure the close table code [/table] ends the table after the last [/tr].
Here's an example table:
WoW RacesWhat Forsaken think of them
Night Elvesdelicious
The codes to produce that table shown here are (with carriage returns added for legibility):

Code: Select all

[table][tr][th]WoW Races[/th][th]What Forsaken think of them[/th][/tr]
[tr][td]Night Elves[/td][td]delicious[/td][/tr]
PRO TIP: You should remove all white space before and after all table codes to avoid excessive vertical space being displayed before your table.
1 x

Post Reply