Editing Horizontal Rules
After you insert a rule ("horizontal line") in a topic, you can edit its settings (e.g., size, color, position) by modifying the hr style in the Stylesheet Editor.
If you want to have different rules for your topics, you can open add new style classes for each different horizontal line. For example, if you want a short rule, you can create a new style class based on the hr style and name it "short." The full name for you new style would be hr.short. You can then adjust the style property settings for hr.short to meet your needs.
[Menu Proxy — Headings — Online — Depth3 ]
How to Use a Style to Edit a Horizontal Rule
- From the Content Explorer, open the stylesheet that you want to modify.
-
Complete one of the following sets of steps, depending on whether you want to use the Simplified view or Advanced view in the Stylesheet Editor.
-
Simplified The Simplified view displays styles in a grid view and is often best for brand new users.
This view provides an easy way to apply properties to styles, with format options available from a toolbar and dialogs (similar to the way one would use an interface such as Microsoft Word). In some cases, only the most common property options are available in the Simplified view (e.g., font, letter/word spacing, paragraph alignment/indentation, autonumbering format, borders, background). One advantage of the Simplified view is that you can apply a property to multiple styles at the same time. You can also click a check box to hide the properties in the editor, allowing you to see only the styles.
-
Advanced The Advanced view displays styles in a tree structure, and despite the name, is user friendly for authors of all levels.
For the properties, you can toggle between a grouped display and an alphabetical display. The Advanced view of the Stylesheet Editor lets you edit more settings than are available in the Simplified view. In addition, the Advanced view lets you see and apply settings to multiple mediums and media queries at the same time.
-
- In the local toolbar, make sure the first button displays (which means that the Simplified view is currently shown in the editor). If the button displays instead, then click it.
- In the upper-left of the editor, make sure the drop-down field is set to .
- From the grid in the bottom portion of the Stylesheet Editor, find and select the hr style (or a class if you have created one).
- In the local toolbar of the editor, click . The Properties dialog opens.
-
Use the tabs and fields in the Properties dialog to change values for any of the style's properties.
For more information see Styles and Stylesheets, as well as Editing Styles in a Regular Stylesheet.
- In the Properties dialog, click OK.
- In the local toolbar, make sure the first button displays . If the button displays instead, then click it.
- In the upper-left of the editor, make sure the drop-down field is set to .
- On the left side of the Stylesheet Editor, find and select the hr style (or a class if you have created one).
- 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 .
- Locate the property you want to change.
-
The area to the right of the property is used for selecting and entering values. If you know how to enter the information correctly, you can click in the value field and type it directly. Otherwise, click the ellipsis button to the right of the property. Depending on the type of property, the appropriate controls and options display, allowing you to choose or enter values (e.g., select from a drop-down list, click a button, complete fields in a dialog or popup). If you completed values in a popup, click OK at the bottom of the box.
-
Click to save your work.
If Using Simplified View
If Using Advanced View
Note Although the hr tag is supported in all browsers, it may render differently from browser to browser. For a more consistent look across all browsers, it is a good idea to set both the color and the background-color properties of the hr tag.
What’s Next?
After editing a style, you can apply it to content in a topic or snippet.