Tools - Horizontal line HR

Tool is used to edit horizontal line tag settings HR. You can open them if the cursor is inside the HR using the Edit tag in the tool ... context menu command, or the F5 hotkey.

You can insert a horizontal line from MainChamp; HTML Code / Horizontal Line Tag, or by using the keyboard shortcut Ctrl+L.

Alignment
Select from the list how the line should be aligned horizontally.

Line thickness
Enter the thickness of the line (in points) in this field.

Line length
Enter the length of the line in this field. You can also choose whether the specified value is:

  • percentages
  • points

Line color
Click to open the color palette and select a line color.

Insert line appearance settings as a style
Check this switch to insert the above settings into the markup not as individual attributes, but as a CSS style in the style attribute.

"Events and Attributes" button

The "Events and Attributes" button allows you to open the Events and Other Attributes window. This window allows you to specify additional attributes of the edited tag that do not have their counterparts in the tool window. There you can also specify events for scripting languages that allow you to achieve various special effects.

Element style

This group allows you to specify the style for the tag. Here you will find three fields that allow you to specify:

Definition of style
In this field you define the style for the element to be placed in the document. The button next to it launches the style editor tool that allows you to create a style definition in a friendly and convenient way. By clicking there you can also modify an existing style.

Class selection
In this field you specify the class identifier assigned to the tag. The drop-down list allows you to access classes defined in the current document and in external style sheets attached to it. The button next to it launches the tool for creating a new class.

Item ID
Here you provide a unique identifier for this element in the document. These identifiers can be used, for example, when making jumps to specific parts of the page or in scripts.

Related topics

To top