[Menu Proxy — Headings — Online — Depth3 ]
How to Use a Style to Indent Lists
- From the Content Explorer, open the stylesheet that you want to modify.
From the Medium drop-down in the Stylesheet Editor, make sure the proper medium is selected before you begin. In the Advanced view, you can open multiple mediums at once; you just need to look at the title at the top of the medium pane and make sure you are working in the correct one. If you are not using stylesheet mediums for your different outputs or if you want all mediums to have the same settings, just leave the medium set to default and continue.
Mediums can be used if you want to use one group of settings for online output types and another group of settings for print-based output types. For example, you might use the default medium for your online outputs and the print medium for your print outputs.
See Mediums and Media Queries.
Please note that Flare remembers the last medium that you used when working in the stylesheet, so it may or may not be the one that you want to use the next time around.
- In the local toolbar, make sure the first button displays . If the button displays instead, then click it.
- In the upper-left corner of the editor, click in the drop-down field and select .
- Select a list style. For example, you can select ol for ordered (numbered) lists, ul for unordered (e.g., bullet) lists, or li for individual list items. You can select the parent style (e.g., li), or you can select a class that you may have created for that tag (e.g., li.Bold, li.Italic).
For more information about the ol, ul, and li styles for lists, see Editing List Styles.
- From the Show drop-down list on the upper-right side of the editor, select .
- (Optional) You can use the toggle button in the local toolbar to show properties below in a group view or an alphabetical view .
- If you are using the group view, expand the Box group.
To the right of margin-left or padding-left, click . In the popup, enter the distance that the list or list item will be indented. Click OK.
Note Both margins and padding can affect the space around elements. The margin controls the amount of space from the edge of the page or viewing device to the edge of the "container" holding the element. Padding controls the amount of space from the edge of the element itself and the container holding it. Therefore, if you seem to be experiencing more space than you expected, you might check to see if you have values entered for both the margin and padding.
- To the right of margin-right, click . In the popup, enter the distance that the list or list item will be indented from the right side of the page. Click OK.
- Click to save your work.
Note Different browsers may treat margin and padding settings differently. For example, Internet Explorer 8 and Firefox honor padding settings more than they honor margin settings. If you were to set a left margin at, say, 1 inch, Internet Explorer 7 would show it that way. However, in order to get the same results in Internet Explorer 8 or Firefox, you would also need to set the left padding at 1 inch.
Note A <div> tag is a good way to indent lots of content. For example, you might have a section of content containing four paragraphs, a numbered list, and an image. Rather than creating special style classes for all of those different elements with an indentation setting (e.g., margin-left or padding-left) on each, you can place your indentation setting on the div style. That way, any content contained within that <div> tag will be indented accordingly.
After editing a style, you can apply it to content in a topic or snippet.