Applying a Style Sheet
Once a style sheet file has been added to an application's _SupportFiles folder, it's available for use with any of the definitions within that application.
- To apply a style sheet to a specific definition, open the definition in the Workspace, as shown above.
- Add a Style element, if necessary,
- The Style element's Style Sheet attribute will provide a pull-down list of the style sheet files in the _SupportFiles folder. Select the appropriate style sheet for use with this definition.
Once a style sheet has been selected, it can be edited in an external style sheet editor (if you have installed one) by clicking the Open File... link (shown circled above) at the top of the Attributes panel. This will launch the application associated in the file system with the .css file extension and open the file in it.
You can assign multiple style sheets but adding multiple Style elements in your definition. If two style sheets contain a class with the same name, then the last one (identified in the Style element further down the element tree) will "win" any conflict, overriding earlier classes.