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 lets you configure to ignore content such as barcode, images etc. by reader tools. |
Additional | Set the Collapse space property to define collapsing extra space either Horizontally or Vertically or None. |
Background | Background Color property specifies the background color of
the window. Color is specified by its RGB value and can be selected in the user
interface with a color wheel.
You can associate a Background image with the style. |
Border |
Read more about Border radius in the following table: Border |
Grid | Grid-template-areas defines the rows of named areas that
define the grid pattern.
Using the named grid items, you can define and preview the grid area structure by specifying how to display the rows and columns. If you repeat the name of a grid area, it results in spanning of content in those cells. The Column-gap attribute sets the space between columns. The Row-gap attribute sets the space between rows. |
List |
Note: The default indent for a list is set to 40px. |
Margin |
|
Padding |
Note: Default Table cell padding is set to 12px (left side and right side). |
Page | The Page-size sets the size and orientation of the box which is used to represent a page. This size corresponds to the target size of the printed page if applicable. |
Text |
Note: The default font size is set to 10pt. |
Transform | Scale Lets you resize the image, and barcode content. Size
|
Elements | Paragraph You can either select (All, First, Last, Odd or Even) and/or enter paragraph number and/or paragraphs range with hyphen as a delimiter. For example: 3-10 Table You can select how you want to implement styling for a table. This can include styling table header, row header, a cell, table rows, or table columns.
|
Note:
For email distribution, do consider 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. |