Portlet Factory, Version 6.1.2
Style Sheet builder
Use the Style Sheet builder to apply Cascading Style Sheets (CSS) to a specified page in a model. This builder allows you to control the appearance of individual elements on a page. The Style Sheet builder automates the process of creating the <style> or <link> tags, and the builder also allows you to profile segments of the CSS code so that you can present specific styles to different audiences.
The CSS code created by the builder can be located in either the HEAD tag of a specified page (recommended) or it can be placed at a particular location on a page or set of pages. In addition, the builder can either embed the CSS code directly in the page (as the body of a <style> tag), or it can create a reference to an external CSS file (using the <link> tag), depending on how you configure it. This latter technique is useful when you want to determine the style at execution time.
To present different styles based on a user's profile, you can set the CSS Source Type input to either Link to file/URL or Import from file/URL and then profile the CSS URL or File Location input. For example, you might assign users in one profile CSS file A and users in another profile CSS file B.
Parent topic: Builder help
- About using the builder call editor
The builder call editor allows you to specify all the input values to a builder call.
- Locating control builder calls on pages
Each page location technique results in the generation of a Page Location string that determines on what pages, and where on those pages, the control builder calls are added.
- Style Sheet Builder Input
The Style Sheet builder takes the inputs described in this table.
- Applying a CSS style to a page segment
This topic describes the steps to follow to apply a CSS Style to a Page Segment.
Library | Support |