Make a label’s border surround the cell, not just the label text?

How can I use CSS to have the border on a form label be on the outer edge of the cell containing the label, rather than closely bordering the text of the label?
The below screenshot shows what I’m trying to achieve:
Comments
-
You can create a CSS document to format the border how you’d like, and apply it to the ‘Label Holder Css Class’ of the label, rather than the ‘Css Class’ of the label.
See the below CSS text file for example:
.ExampleLabelCSS
{
border: 1px solid black;
Border-radius: 5px;
color: black;
font-size: 14px;
text-align: center;
}
1- In Decisions, go to Settings > Designers > Css > then click ‘Add’
2- Name and upload your CSS text file
3- In the designer form properties, under ‘Style’, check the box next to your CSS file you just uploaded
4- Click on the label you’d like to apply the border to, then within the label’s properties under ‘View’ select the CSS file from the ‘Label Holder Css Class’ dropdown.
5- Your border will surround the label’s containing cell
You can also apply the CSS file to both the ‘Label Holder Css Class’ and ‘Css Class’ at the same time:
For more information on CSS and how to use it with forms in Decisions, please see the below documentation:
Uploading CSS: https://documentation.decisions.com/v8/docs/uploading-css
CSS Examples: https://documentation.decisions.com/docs/pre-defined-css-classes-for-forms
Using CSS in Forms: https://documentation.decisions.com/docs/using-css-in-forms
CSS Properties on Form Controls:
https://documentation.decisions.com/docs/css-properties-on-form-controls
Howdy, Stranger!
Categories
- 4.2K All Categories
- 68 General
- 11 Training
- 204 Installation / Setup
- 1.1K Flows
- 108 Rules
- 265 Administration
- 212 Portal
- 495 General Q & A
- 703 Forms
- 335 Reports
- 3 Designer Extensions
- 47 Example Flows
- 55 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 181 Pages
- 5 Process Mining
- New Features
- 181 Datastructures
- 69 Repository
- 226 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 57 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 112 Lunch And Learn Questions