Skip Headers
Oracle® Fusion Middleware User's Guide for Oracle Portal
11g Release 1 (11.1.1)

Part Number E10235-01
Go to Documentation Home
Go to Book List
Book List
Go to Table of Contents
Go to Index
Go to Feedback page
Contact Us

Go to previous page
Go to next page
View PDF

12.12 Using Portal Style Element Classes in HTML Templates and CSSs

In Oracle Portal, there are three typical style scenarios:

This section deals briefly with the second scenario: augmenting portal style element classes.

You may prefer to create custom style sheets using Oracle Portal style element classes in a CSS or embedded between <style></style> tags in a portal HTML template. For example, the standard style element class for a portlet header contains a parameter for background color but not for background image:


You can augment the existing class by adding a background image parameter:

.PortletHeaderColor{Background-Color:#336699; Background-Image:url(;}


When you augment Oracle Portal style element classes with additional parameters, you can no longer use the Oracle Portal declarative interface to maintain the style classes. You must maintain the classes yourself in the HTML or the referenced CSS file.

By customizing Oracle Portal style element classes, you can reduce the amount of coding by simply altering these existing classes.

To ensure that you use the appropriate style classes in your CSS or between your <style></style> tags: