Overview
The List Type User Item modifies the appearance and structure of a list on a Custom Page.
Custom Pages often contain lists, but List Type User Items are optional.
- If a List Type User Item precedes a sequence of User Items that are included in a list of links on a Custom Page, Second Site will generate the list according to its properties.
- If no List Type User Item precedes a sequence of User Items that are included in a list of links on a Custom Page, Second Site will generate an unordered list using the UL HTML element.
A List Type User Item modifies the list that contains the User Items that immediately follow it in the Custom Page. Any subsequent lists, even on the same Custom Page, will be rendered using the default characteristics unless those lists are also preceded by List Type User Items.
Edit List Type
The Edit List type window controls the properties associated with a List Type User Item.
List Type
The List Type property determines which HTML element Second Site uses for the list. The choices are Unordered List (UL), Ordered List (OL), and Definition List (DL). The default is UL.
An Unordered List is not numbered. An Ordered List is numbered. For both Unordered Lists and Ordered Lists, Second Site concatenates the title and the description of a User Item to make a list entry.
List entries in a Definition List consist of two parts: a term and a description. In a Custom Page list, the User Item title is the term, and the User Item description is the description. Definition lists are rendered in your browser as follows:
- title 1
- description 1
- title 2
- description 2
- ...
Enabled
See Enabled on the User Items page.
Spacing
The Spacing property determines the spacing between list items. The choices are Regular Spacing and Extra Spacing. With Regular Spacing, which is the default, the list is preceded by a blank line, but there are no blank lines between list items. With Extra Spacing, each item in the list is preceded by a blank line.
Second Site implements the spacing by setting a 1em top-margin on either the list element or the item elements.
For Definition Lists, the default Second Site stylesheet include a space between the end of a definition and the next term, and that spacing is preserved when Spacing is set to Regular Spacing. When Spacing is set to Extra Spacing, there is also a blank line between the term and its description.
Style
If you wish to specify one or more CSS style parameters for a specific list, you may add the CSS parameter(s) using the Style textbox.
To adjust the style of all Custom Page lists, modify the properties in the Stylesheets.System.Pages.Item List section.
This page last changed on 05 Feb 2016.