Add CSS Classes to Control Templates

This forum allows users to post and respond to "How Do I Do ....." questions. The information contained in this forum has not been validated by K-Rise Systems and, as such, K-Rise Systems cannot guarantee the accuracy of the information.
Post Reply
JefferyD
Posts: 178
Joined: August 31st, 2021, 11:37 am
Contact:

Add CSS Classes to Control Templates

Unread post by JefferyD »

Given an input like below, there is a lot of default CSS being applied directly to the tags instead of a CSS class of some kind.
image.png
image.png (5.03 KiB) Viewed 1522 times
image.png
image.png (5.03 KiB) Viewed 1522 times
image.png

This makes both detaching and overwriting a control from the default styling more difficult when CSS conflicts occur. Some styling is even applied to manually created HTML elements even though they are not an EASYProcess control.

An example of styling that's difficult to revert without messing up the styling of other elements:
image.png

Suggestion
Wrap all controls in a span with a default class based on the type of control and map all default styling to use that class and only elements found inside the element with that class.
word count: 131

Tags:
CathyC
Posts: 472
Joined: November 16th, 2021, 11:15 am
Contact:

Re: Add CSS Classes to Control Templates

Unread post by CathyC »

Task 11509 has been opened to discuss this
word count: 8
Post Reply