The Style pane is a visual CSS editor that lets you modify style properties, such as the background color, font size, and border style, as you work with pages and page elements.
Required Editions
| Available in: Salesforce Classic |
|
Available for purchase in: Enterprise, Performance, and Unlimited Editions Available (with limitations) in: Developer Edition |
The Background Section
| Property | Description |
|---|---|
| Background Color | Sets the element's background color. Click the color box and use the color picker to select a color, or enter a specific hexadecimal code in the text box. You can also choose from a list of colors in the Background Color dropdown list. |
| Background Image | Adds a background image to the element. Click
URL and enter the image URL, or click
|
| Background Repeat |
Tiles the element's background image.
|
| Position |
Specifies the position of the element's background image.
|
| Cursor | Sets the cursor type, such as crosshair or pointer. |
The Font & Color Section
| Property | Description |
|---|---|
| Font | Sets the font family of the selected element. |
| Color | Sets the font color. Click the color box and use the color picker to select a color, or enter a specific hexadecimal code in the text box. You can also choose from a list of colors in the Color dropdown list. |
| Size |
Sets the font size. Enter a value in the Size text box and select a unit of measurement such as em, point, or %. Alternatively, select a predefined value such as XX-Small. Select Inherit to use the same font size as the parent element (for example, the page or panel). Use relative sizes such as em or a percentage to enable your end users to resize the font size in their Web browsers. |
| Style |
Formats the element's font style.
|
| Font Variant | Specifies whether to render the font as small capitals. |
| Line Height | Modifies the amount of space between lines of text. Enter a value in the text box and select a unit of measurement such as pixels, percentage, or em. Select Inherit to use the same line height as the parent page element. |
| Text Decoration |
Applies decorative effects to the element's text. For example, you could remove the underline that usually appears under hyperlinks, which is a standard CSS rule that's built in to most Web browsers.
|
| Align |
Aligns the text of the selected element.
|
| Case |
Changes the capitalization of the element's text.
|
| Text Indent | Indents the first line of text of the selected page element. Enter a value in the text box and select a unit of measurement. Select Inherit to use the same indentation as the parent page element. |
| White Space | Controls how white spaces such as spaces, tabs, and hard returns are handled inside an element. |
The Layout Section
| Property | Description |
|---|---|
| Positioning |
Positions page elements outside the normal flow of the document.
Usually, elements on a page are rendered in Web browsers in the
order they appear in the document. Block elements such as
|
| Display |
Overrides a page element's default layout behavior. For example, you can hide page elements, make block elements render inline, or make inline elements render as blocks.
|
| Position |
When used in conjunction with the Absolute or Relative positioning options, these four properties place page elements outside the normal flow of the document. Enter a value in the text boxes as appropriate and select a unit of measurement in the respective dropdown lists.
|
| Z-index |
Specifies the order in which elements overlap each other when they must be rendered in the same space. An element with a greater z-index value covers an element with a lower value. The default value is 0. Click |
| Float |
Floats a page element to the left or right so that subsequent elements—text for example—wrap around the floating page element.
|
| Clear |
Specifies whether the selected page element allows floating page elements beside it.
|
| Visibility |
Specifies whether the selected page element is visible.
|
| Overflow |
Specifies whether the content of a page element is clipped when it overflows its area.
|
The Dimensions Section
| Property | Description |
|---|---|
| Width | Sets the width of the selected page element. Enter a value in the Width text box and select a unit of measurement. Select Inherit to use the width of the parent page element. |
| Height | Sets the height of the selected page element. Enter a value in the Height text box and select a unit of measurement. Select Inherit to use the height of the parent page element. |
| Margins | Sets the width of the page element's margin, which is the space between its border and outer edge. Set the margins for all four sides by entering a value in the All text box, or add margins to the top, right, bottom, or left sides as required. |
| Padding | Sets the width of the page element's padding, which is the space between its content and border. Set the padding for all four sides by entering a value in the All text box, or add padding to the top, right, bottom, or left sides as required. |
The Borders Section
| Property | Description |
|---|---|
| Type | Specifies whether to set border properties for each side separately or for all four sides. |
| Style | Sets the border's style such as dashed, dotted, or double. |
| Color | Sets the border's color. Click the color box and use the color picker to select a color, or enter a specific hexadecimal code in the text box. You can also choose from a list of colors in the Color dropdown list. |
| Thickness | Specifies the border's thickness. Enter a value in the Thickness text box and select a unit of measurement. Alternatively, select Thin, Medium, or Thick. |
The Tables Section
| Property | Description |
|---|---|
| Border Collapse |
When designing tables:
|
| Horizontal Spacing | Sets the horizontal distance that separates cell borders. Enter a value in the text box and select a unit of measurement. This value is used only if Border Collapse is set to Separate. |
| Vertical Spacing | Sets the vertical spacing that separates cell borders. Enter a value in the text box and select a unit of measurement. This value is only used if Border Collapse is set to Separate. |























