Previous |
Next |
This procedure adds a CSS style snippet that is included inline in the HTML output. This procedure can be used to add new CSS style declarations.
Syntax
APEX_CSS.ADD ( p_css IN VARCHAR2, p_key IN VARCHAR2 DEFAULT NULL);
Parameters
Table: ADD Parameters describes the parameters available in the ADD
procedure.
ADD Parameters
Parameter | Description |
---|---|
|
The CSS style snippet. For example, |
|
Identifier for the style snippet. If specified and a style snippet with the same name has already been added the new style snippet will be ignored. |
Example
Adds an inline CSS definition for the class autocomplete into the HTML page. The key autocomplete_widget
prevents the definition from being included another time if the apex_css.add
is called another time.
apex_css.add ( p_css => '.autocomplete { color:#ffffff }', p_key => 'autocomplete_widget' );