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
widthproperty. -
Height: Set the height of the table in measure or percentage. Equivalent to the CSS
heightproperty. -
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-familyproperty. -
Size: Enter the size in measure, named size or percentage.
Equivalent to the CSSfont-sizeproperty. -
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 CSScolorproperty.
-
-
Spacing group:
-
Letter Spacing: Set the space between characters in a text in measure or percentage.
Equivalent to the CSSletter-spacingproperty. -
Word Spacing: Set the space between each word in a text in measure or percentage.
Equivalent to the CSSword-spacingproperty. -
Whitespace: Specify how to handle white spaces inside of an element.
Equivalent to the CSSwhite-spaceproperty. 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-weightto700. -
Italic: Sets the
font-styletoitalic. -
Underline: Sets the
text-decorationtounderline. -
Strikethrough: Sets the
text-decorationtoline-through. -
Subscript: Sets the
vertical-aligntosuper. -
Superscript: Sets the
vertical-aligntosub. -
Capitalize: Sets the
text-transformtocapitalize. -
Uppercase: Sets the
text-transformtouppercase. -
Lowercase: Sets the
text-transformtolowercase. -
Small-caps: Sets the
font-varianttosmall-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 CSSborderproperty. -
Top, Left, Bottom, Right: Set padding for each side.
Equivalent to the CSSpadding-left,padding-top,padding-rightandpadding-bottomproperties.
-
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
borderproperty. -
Top, Left, Bottom, Right: Each group defines the following properties:
-
Width: Specify the thickness of the border.
Equivalent to the CSSborder-widthproperty. -
Style: Specify the style of the border such as
solid,dashedordotted.
Equivalent to the CSSborder-styleproperty. -
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-colorproperty.
-
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-colorproperty.
-
-
Background image group:
-
Source: click the Select Image button to select an image via the Select Image dialog.
Equivalent to the CSSbackgroundproperty. -
Size: select
auto,coverorcontain(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-sizeproperty. -
Position: select the position for the background-image.
Equivalent to the CSSbackground-positionproperty.
-