Table Cell Formatting dialog
The Table Cell Formatting dialog defines how a particular cell in a table looks. For more information see Styling a table.
All settings in this dialog are in fact CSS properties. Cascading Style Sheets (CSS) were originally designed for use with web pages: HTML files. Since Designer templates are HTML files, they are styled with CSS. To learn how to use CSS in the Designer, see Styling and formatting and Styling templates with CSS files. For information about specific properties and their options, see MDN Web Docs - CSS Reference.
Note: Using viewport based units (vw, vh, vmin, vmax) in Print sections is not recommended. This may cause differences between the preview in the Designer and the printed output.
Cell Tab
-
Width: Set the width of the table in measure or percentage. Equivalent to the CSS
width
property. -
Height: Set the height of the table in measure or percentage. Equivalent to the CSS
height
property. -
Vertical Align: Specify how text is vertically aligned in the cell: top, middle, bottom or baseline. With the baseline value all the table data share the same baseline. Often this has the same effect as the bottom value. However, if the fonts are in different sizes, baseline looks better.
Type Tab
-
General group:
-
Font: Select the font used to display text.
Equivalent to the CSSfont-family
property. -
Size: Enter the size in measure, named size or percentage.
Equivalent to the CSSfont-size
property. -
Color: You may select a named color (defined in the Colors Properties) from the drop-down, or click the colored square to open the Color Picker dialog (Color Picker). Alternatively you could type a name or value in the Color field directly. It must be a predefined CSS color name (CSS color names), a hexadecimal color code (HTML Hex Color), an RGB color value, for example
rgb(216,255,170)
or a CMYK color value, for examplecmyk(15%, 0%, 33%, 0%)
.
Equivalent to the CSScolor
property.
-
-
Spacing group:
-
Letter Spacing: Set the space between characters in a text in measure or percentage.
Equivalent to the CSSletter-spacing
property. -
Word Spacing: Set the space between each word in a text in measure or percentage.
Equivalent to the CSSword-spacing
property. -
Whitespace: Specify how to handle white spaces inside of an element.
Equivalent to the CSSwhite-space
property. See MDN Web Docs - white-space for details.
-
-
Style group: Check any option to apply the selected style to text within the element:
-
Bold: Sets the
font-weight
to700
. -
Italic: Sets the
font-style
toitalic
. -
Underline: Sets the
text-decoration
tounderline
. -
Strikethrough: Sets the
text-decoration
toline-through
. -
Subscript: Sets the
vertical-align
tosuper
. -
Superscript: Sets the
vertical-align
tosub
. -
Capitalize: Sets the
text-transform
tocapitalize
. -
Uppercase: Sets the
text-transform
touppercase
. -
Lowercase: Sets the
text-transform
tolowercase
. -
Small-caps: Sets the
font-variant
tosmall-caps
.
-
Spacing Tab
For information about spacing see Spacing.
-
Padding group: Defines padding (spacing inside the element) in measure or percentage:
-
All sides: Check to set all padding to use the Top value.
Equivalent to the CSSborder
property. -
Top, Left, Bottom, Right: Set padding for each side.
Equivalent to the CSSpadding-left
,padding-top
,padding-right
andpadding-bottom
properties.
-
Border Tab
For information about borders see Border.
-
Same for all sides: Defines the border properties for all sides using the Top properties. Equivalent to the
border
property. -
Top, Left, Bottom, Right: Each group defines the following properties:
-
Width: Specify the thickness of the border.
Equivalent to the CSSborder-width
property. -
Style: Specify the style of the border such as
solid
,dashed
ordotted
.
Equivalent to the CSSborder-style
property. -
Color: Specify the color of the border: select a named color (defined in the Colors Properties) from the drop-down, or click the colored square to open the Color Picker dialog (Color Picker). Alternatively you could type a name or value in the Color field directly. It must be a predefined CSS color name (CSS color names), a hexadecimal color code (HTML Hex Color), an RGB color value, for example
rgb(216,255,170)
or a CMYK color value, for examplecmyk(15%, 0%, 33%, 0%)
.
Equivalent to the CSSborder-color
property.
-
Background Tab
For information about backgrounds see Background color and/or image.
-
General group:
-
Color: Specify the color of the table cell background: select a named color (defined in the Colors Properties) from the drop-down, or click the colored square to open the Color Picker dialog (Color Picker). Alternatively you could type a name or value in the Color field directly. It must be a predefined CSS color name (CSS color names), a hexadecimal color code (HTML Hex Color), an RGB color value, for example
rgb(216,255,170)
or a CMYK color value, for examplecmyk(15%, 0%, 33%, 0%)
.
Equivalent to the CSSbackground-color
property.
-
-
Background image group:
-
Source: click the Select Image button to select an image via the Select Image dialog.
Equivalent to the CSSbackground
property. -
Size: select
auto
,cover
orcontain
(for an explanation see MDN Web Docs - background-size), or type the width and height of the image in a measure (e.g.80px 60px
) or as a percentage of the parent element's size (e.g.50% 50%
).
Equivalent to the CSSbackground-size
property. -
Position: select the position for the background-image.
Equivalent to the CSSbackground-position
property.
-