You may add CSS styling markup (div and class
directives) directly to widget XML statements by using the HTML markup tags as described.
CSS styling markup can be added simply by following these steps:
1. Within any
widgets
element, add one or more XML statements with HTML and CSS markup.2. Close all HTML markup elements with appropriate end tags.
3. Save and close the file.
HTML CSS directives placed within the widgets
element of a screen definition are translated into HTML based on conversions built-in to the OFBiz screen handler and Screen widget screen generation tool. Several common HTML elements may be specified directly within the Screen widget definition or on a screenlet's element in this way.