12.1 ADD Procedure
This procedure adds a CSS style snippet that is included inline in the HTML output. Use this procedure to add new CSS style declarations.
Syntax
APEX_CSS.ADD (
    p_css   IN  VARCHAR2,
    p_key   IN  VARCHAR2  DEFAULT NULL);Parameters
Table 12-1 ADD Parameters
| Parameter | Description | 
|---|---|
| p_css | The CSS style snippet. For example, #test {color:#fff} | 
| p_key | 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' );Parent topic: APEX_CSS