Deleting a Region from a Page

10-8 Oracle Fusion Middleware Users Guide for Oracle Portal Figure 10–9 One Region Using 100 Percent of Available Space If you add another region to the right of this region, each region will take up 50 of the width of the page Figure 10–10 : Figure 10–10 Two Regions, Each Using 50 Percent of Available Space If you want regions to use available space in unequal proportion, you can explicitly set the width of each region. You can set the width of a region to a specific number of pixels or to a percentage of the overall width of the page. Do not intermix region widths of pixel and percent. You can also set the height of a region. Region height is always set in pixels. Setting the height of a region establishes a minimal height. If content exceeds the set height of a region, the region expands to accommodate it. Region widths and heights never cause content to truncate. No matter what values you set, regions always expand to accommodate content. If exacting region proportions matter to your portal, you must size content to fit your regions. To change the height and width of a region:

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 page with regions to be resized. By default, the Page Groups portlet is located on the Build tab of the Portal Builder page.

4. Under Pages in the Layout Appearance section, click the link to the page with

regions to be resized. This opens the page in Edit mode.

5. Click the Edit Region icon in the region to be resized

Figure 10–11 . Figure 10–11 The Edit Region Icon

6. On the resulting page, go to the Region Display Options section, and enter or edit

the values for Width and Height: Note: Region content can be truncated as a result of region column and row settings. For more information, see Section 10.2.5, Changing the Number of Columns and Rows in a Region . Working with Layouts 10-9 ■ In the Width field, enter the width of the region in pixels a number, such as 20 or as a percentage of the overall width of the page a number and a percent sign, such as 20. ■ In the Height field, enter the height of the region in pixels. An empty region with a declared height is rendered with that height in both Edit and View modes. When a region height is not specified, an empty region does not take up any space in View mode. When you use an empty region as a spacer between other regions on the page, be sure to specify a region height.

7. Click OK to save your changes and return the page.

If you choose to have the width of some regions expressed in pixels and other regions on the same page expressed in percentages, the page may look slightly different in different browsers. If you enter a height or width of 1 in an attempt to make the region as small as possible, the region will nonetheless expand to display the full content of the region. If you add another region to the right or left of an existing region, the region widths are automatically reset to be equal. For example, if you have a page with two regions side-by-side, one with a width of 40 and the other 60, if you add a third region on the same line, all the regions will be reset to a width of 33. You might have a region configuration that looks something like Figure 10–12 : Figure 10–12 Region 1 Is Divided Horizontally, Then Vertically In this case, even if you set regions 1 and 3 to have different widths, the actual width of the column will be as wide as the widest region in that column. So if region 1 has a specified width of 40 and region 3 has a specified width of 20, when viewing the page, the column containing regions 1 and 3 will be 40 of the width of the page. Pixel widths take precedence over percentage widths. Therefore, if region 1 has a width of 40 and region 3 has a width of 200 pixels, when viewing the page, the column containing regions 1 and 3 will be 200 pixels wide. Note: You must include a percent sign if you want the number you enter to be interpreted as a percentage of page width rather than a number of pixels.