Specify a Font Size and select a unit of measurement:

Working with Colors and Fonts 11-15 If the Portlet Background Color style element that is applied to the container page is set to a specific value, rather than left blank, the setting for the Use Style Of Page On Which Portlet Is Placed option is ignored for the page portlet, though not for portlets that may be placed on the page portlet’s source page. To ensure that a page portlet or navigation page uses its own background color, rather than the one specified for the page on which it is placed: 1. Ensure that the page portlet or navigation page uses its own style when it is published as a portlet that is, do not select the Use Style Of Page On Which Portlet Is Placed option for the page or navigation page that you are using as a portlet. 2. In the style that is used by the container page that is, the page where you place the page portlet or navigation page, leave the value for the Portlet Body Color style element blank.

11.6 Defining Styles for Tabs

Another way to add distinction to your portal is through judicious selection of the colors, fonts, and images to use with tabs. Change tab colors and fonts by editing the style used in the region that contains the tabs. For information on how to add tab images, see Section 10.3, Working with Tabs . For information on applying a style to tabs, see Section 11.8.2, Applying a Style to a Region . Figure 11–10 shows the same tabs with different color and font settings. Figure 11–10 Same Tabs with Different Color and Font Settings Use care when changing a style: the changes you make affect the appearance of all pages and sub-page, tab, and item regions that use the style. To change tab colors and fonts: 1. Log in to Oracle Portal.

2. Click the Build tab to bring it forward.

3. From the Page Groups portlet Work In drop-down list, select the page group that

owns the relevant style. By default, the Page Groups portlet is located on the Build tab of the Portal Builder page.

4. Under Styles in the Layout Appearance section, click the style to be edited.

This opens the Properties tab of the Edit Style page.

5. In the Style Element Type section, choose Tabs.

Note: For more information on turning off the display of headers and borders for portlet regions, see Section 10.2.12, Displaying or Hiding Portlet Headers and Borders . Tip: If the style is used by more than one page group, look in the Shared Objects page group. 11-16 Oracle Fusion Middleware Users Guide for Oracle Portal

6. In the Style Element Properties section, choose a tab style element to define.

For a list and description of style elements that are relevant to tabs, see Section 11.3.2, Tabs .

7. Click a color in the color palette, or enter a hexadecimal value in the Color field.

Clicking in the palette automatically populates the Color field with a hexadecimal value.

8. Select a Font Decoration:

■ None for no decoration see the following Note ■ Plain for no decoration see the following Note ■ Underline for underlined text ■ Line-Through for lined-out text ■ Underline Linethrough for underlined text that is also lined out

9. Select a Font Face.

The Default font face renders the text in the default font specified by the users browser.

10. Specify a Font Size and select a unit of measurement:

■ px fixed unit pixels, though relative to the viewers monitor ■ pt fixed unit points ■ em relative unit relative to the font size of the last specified font ■ ex relative unit relative to the X size of the last specified font ■ relative unit relative to the font size of the last specified font

11. Select a Font Style: