Customizing past polls
The past polls display, if you choose to use it, is totally customizable using Cascading Style Sheets (CSS).
The first and only necessary customization is to define colors for use in the bar graphs that illustrate poll results. To do this, follow the steps outlined in Minimal customization. Alternatively, if you link the same stylesheet to the past polls document that you linked to the document displaying the current poll, then you need not do anything—the colors defined for the current poll will simply be reused for past polls.
The main past polls table has CSS class QP-past-polls. Note that by combining this selector with the other selectors given below, you can distinguish between current and past polls in a single stylesheet.
Refer to the following diagram, which outlines the basic form of the past polls list, to customize other aspects of the past poll display using the CSS selectors specified.
| .QP-question |
Table and cells containing question in both the
poll and the results |
| .QP-answers |
Table and cells containing the list of answers in both the
poll and the results |
| .QP-dates |
Text for dates, total responses for a selected poll |
| .QP-poll-list |
Table and cell containing list of past polls |
| .QP-bar-table |
Table containing only a bar for the bar graph (nested in answer
list) |
| .QP-bar-cell |
Cell containing only a bar for the bar graph |
|