Style Attributes in Communication Cloud Service
Communication Cloud Service provides a wide range of style attributes for designing contents, layouts and documents that you want to create.
The following table lists the style categories and the attributes that you can configure:
Table 2-1 Style Attributes in Communication Cloud Service
| Category | Style Attribute |
|---|---|
| Accessibility | Ignore Content allows you to configure and apply to the content, such that the online reader tools exclude specific elements from processing. For example, barcodes, images and other non-essential visual components. |
| Additional | Additional sets the spacing and stacking order of elements.
|
| Background | Background sets the properties such as color and background content.
You can associate one or more Background Image with the style. Select the Background Image and set the Type, Position, Blend Mode, Repeat, and Size. |
| Border | Border controls the appearance and behavior of an element's borders.
Note: For HTML output, using a percentage (%) as the unit for border size is not supported. |
| Grid | Grid sets the layout structure using the grid area and gaps.
|
| List | List sets the appearance and behavior of list elements.
Note: The default indent for a list is set to 40px.?? |
| Margin | Margin sets the space around the document using the specified unit. It defines the area outside the element's border. You can apply it to all the sides, at once, or customize each side individually using the Target Individual Margin slider. |
| Padding | Padding sets the space inside the element’s border using the specified unit. It is the area between the content and the border of the element. You can apply it to all the sides, at once, or customize each side individually using the Target Individual Padding slider.
Note: Default Table cell padding is set to 12px (left side and right side). ?? |
| Page | Page sets the page size, orientation, and controls where page breaks occur before or after the content.
|
| Text | Text sets various font and text properties including font style, size, color, alignment, weight, spacing, and decorations to control how text appears in the content.
Note: The default font size is set to 10pt.?? |
| Transform |
|
| Elements | Paragraph sets the range of paragraphs to which the formatting needs to be applied. You can either select from the drop-down and/or enter paragraph number and/or paragraph range with hyphen as a delimiter.
For example: 3-10 |
Table decides how to apply styling to different parts of a table. This includes styling the table header, row header, individual cells, table rows, or table columns.
|
Note:
For email distribution, check for the best practices and workarounds mentioned in the Email Configuration Matrix topic.Table 2-2 Border Radius across different border styles in HTML and PDF output
| Border Style | HTML | |
|---|---|---|
| Solid | Border is displayed with radius. | Border is displayed with radius. |
| Dashed | Border is displayed with radius. | Border is displayed with radius. |
| Dotted | Border is displayed with radius. | Border is displayed with radius. |
| Double | Border is displayed with radius. | Border is displayed leaving an empty space in the place of radius. |
| Groove | Border is displayed with radius. | Border is displayed leaving an empty space in the place of radius. |
| Inset | Border is displayed with radius. | Border is displayed leaving an empty space in the place of radius. |
| Outset | Border is displayed with radius. | Border is displayed leaving an empty space in the place of radius. |
| Ridge | Border is displayed with radius. | Border is displayed leaving an empty space in the place of radius. |
| Hidden | Border is not displayed. | Border is not displayed. |
| None | Border is not displayed. | Border is not displayed. |