Skip to main content

Divider

Overview

Divider Displays a horizontal divider that can be customized like an HTML border.


Parameters

ParameterParameterValid BlocksRequired
Style SetsOptional list of Email Style blocks to apply to this blockText Block GroupNo
Custom CSS ClassesOptional space-separated list of CSS classes to be applied to the element. Intended for use with EmailCSS blocks.Text Block GroupNo
WidthThe width of the element.Unit Value Block GroupNo
PaddingThe padding around the element.Text Block GroupNo
Padding BottomThe padding below the element.Unit Value Block GroupNo
Padding LeftThe padding to the left of the element.Unit Value Block GroupNo
Padding RightThe padding to the right of the element.Unit Value Block GroupNo
Padding TopThe padding above the element.Unit Value Block GroupNo
Border ColourThe colour of the border. Defaults to #000000 (black)Colour Block GroupNo
Border StyleWhether the border is a solid line, dashed, or dotted.Text Block GroupNo
Border WidthThe width of the border. Default: 4pxText Block GroupNo
Container Background ColourThe colour of the background of the container.Colour Block GroupNo
Horizontal AlignmentHow the block should be aligned horizontally within its container.Text Block GroupNo