How do I center or add borders to my columns or table?

Synopsis
Due to certain browser and HTML limitations, centering tables and enabling table borders requires use of special CSS classes.

Solution
To center or enable borders on a table, please follow these steps:

  1. Insert table from the editor using the table icon .
  2. Right click on the table, click on Table Properties.
  3. Click on the Advanced tab of the Table Properties dialog.
  4. In the Stylesheet Classes field, add the classes tableBorder AND/OR tableCenter. Separate each by a space if using them in combination.
  5. Press Ok to close the Table Properties dialog.
  6. Press Save to save the page. Visit the page and refresh the contents. You will see the table properly centered and/or bordered.

 

0 Comments

Article is closed for comments.