Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
This document will assist you in building tables and tackling table issues in Joomla! After reading this document,
you should have a better understanding of tables and table issues in Joomla!, as well as, a better appreciation of
how tables can help you organize your content.
The first thing that you need to understand is there is no single right answer to every problem. Because Joomla! is
a web-based tool, many of the problems that will be addressed by this document are web browser dependent
issues or are dependent on the version of Microsoft Word that you have on your computer (assuming each person
uses Joomla’s Paste from Word functionality). As a result, not all of the solutions presented here will be helpful to
everyone, but they should be helpful to a large majority.
As always, if you encounter a problem that you are unable to resolve, please visit
http://www.sph.unc.edu/helpme/ and submit a UNC-CH Remedy Help Ticket to: Manage School of Public Health
website content.
AN INTRODUCTION TO TABLES
Tables created on the web are very different from tables created in a word processing application, like Microsoft
Word. In this section, we are going to start by giving you a different point of view, by examining a key difference
between tables on our web site and tables in Microsoft Word.
Let’s look at how tables are created and edited. In Microsoft Word, you can create and/or modify a table’s layout
by editing columns and rows in a table, but in Joomla!, you create and/or modify tables by first editing the rows in
a table because you cannot edit columns, only individual cells within a column. The example below should help
illustrate:
BUILDING A TABLE
Building tables on the web, as well as, building them in Joomla! come with their own set of issues, which are
different from tables in a word processing application, like Microsoft Word. However, even with all of their
differences, building tables in Joomla! can be rather simple as long as some proper planning is employed before
you create your table. In this section, we are going to examine how to create a table, and more importantly, how
to properly modify a table to suit your needs.
1) You can add tables to content in the Joomla! by selecting the “Insert Table” button.
Insert Table
2) In the Insert Table dialog box, enter the requirements for your table. You can view a style preview of your
table at the bottom of the dialog box.
Cell Spacing - Cell spacing controls the distance between the cells.
Cell Padding - Cell padding controls the distance between the text in the cell and edge of the cell.
Border Collapse - This property specifies whether your table cells will share borders or have their own
distinct borders.
Background Color – This property specifies the background color of the table.
Border Color – This property specifies the border color of the table.
3) Choose “OK” when you are done, and the table will be inserted into the page.
1) You can modify an existing table at any time by placing your cursor in the row or cell that you want to
modify, and select the “Table, Row and Cell Properties” button. You can also access more table formatting
options by right-clicking your mouse inside a table.
Table Shortcut: You can also access this and other table functions by right-clicking
your mouse inside a table after your cursor has been placed in a row or cell that you
want to modify.
2) In the Table, Row and Cell Properties dialog box, select the corresponding tab at the top of the screen
based on what you want to modify: This Cell, This Row, or This Table. Each tab has different options based
on what you are choosing to modify. Each tab will also contain a style preview of your table at the bottom
of the dialog box to allow you to view some of your changes. Each tab and their options are listed below:
This Cell
Cell Size:
Width & Height – Specifies the width and height of
your cells, either in pixels or percent.
Text Alignment:
Vertical Alignment - Controls the vertical orientation
of text within a given cell.
This Row
Text Alignment:
Vertical Alignment - Controls the vertical orientation
of text within a given row.
This Table
Table Size:
Width & Height – Specifies the width and height of
your cells, either in pixels or percent.
Alignment:
Alignment on page – Controls the horizontal
orientation of table on the page.
Border Collapse - This property specifies whether your table cells will share borders or have their own
distinct borders.
Background Color – This property specifies the background color of the table.
Border Color – This property specifies the border color of the table.
Background Image – This property takes an image and makes it the background color of your table.
3) Choose “Apply” when you are done, and the table will be updated.
You can insert or delete a column or a row by placing your cursor either in the column or row next to the column
or row you wish to insert or in the column or row you wish to delete. You can also access more table formatting
options by right-clicking your mouse inside a table.
You can merge or unmerge cells by placing your cursor in the cell you wish to merge/unmerge. Joomla! will allow
you to merge/unmerge with any cell that is to the right or below the cell you place your cursor in. You can also
access more table formatting options by right-clicking your mouse inside a table.
This section will outline some best practices to use to reduce problems with tables in Joomla!
It is strongly encouraged that users build their tables in Joomla! rather than building their tables in Microsoft
Word, and using “Paste from Word” to move them to Joomla! Tables built in Microsoft Word, typically do not
translate over well into Joomla!, and users will usually be unable to modify the table, if necessary later.
When creating and modifying a table, it is highly recommended that you use a table border to prevent problems
during the editing process. Table borders give you a quick perspective not only on how your table looks, but how
your content looks in relation to the table around it. Are all your cells aligned correctly? Do you have the same
amount of spacing inside each of your cells? It is highly recommended that you always use a border when editing a
table, and then, if needed, remove the border when you are done.
Issues discussed in the Troubleshooting in Joomla! document still must be observed when tackling tables in
Joomla! You will see many of these issues arise while creating and modifying tables since many of the problems
that were addressed by this document were web browser dependent issues.