Use this Property inspector to set borders and frame sizes for a frameset.
TIP |
|
Be sure to click the expander arrow in the lower-left corner of the Property inspector to see all the frameset properties. |
Setting a frame property overrides the setting for that property in a frameset. For example, setting border properties in a frame overrides the border properties set in the frameset.
Borders determines whether borders should appear around frames when the document is viewed in a browser. To display borders, select Yes; to prevent the browser from displaying borders, select No. To allow the browser to determine how borders are displayed, select Default.
Border Width specifies a width for all the borders in the frameset.
Border Color sets a color for the borders. Use the color picker to select a color, or type the hexadecimal value for a color.
Pixels sets the size of the selected column or row to an absolute value. This option is the best choice for a frame that should always be the same size, such as a navigation bar. Frames with sizes specified in pixels are allocated space before frames with sizes specified as percent or relative. The most common approach to frame sizes is to set a left-side frame to a fixed pixel width and to set a right-size frame to relative, which enables the right frame to stretch to take up all the remaining space after the pixel width is allocated.
NOTE |
|
If all of your widths are specified in pixels, and a visitor views the frameset in a browser thats too wide or too narrow for the width you specified, then the frames stretch or shrink proportionately to fill the available space. The same applies to heights specified in pixels. Thus, its generally a good idea to specify at least one width and height as relative. |
Percent specifies that the selected column or row should be a percentage of the total width or height of its frameset. Frames with units set to Percent are allocated space after frames with units set to Pixels, but before frames with units set to Relative.
Relative specifies that the selected column or row be allocated the rest of the available space after Pixels and Percent frames have had space allocated; that remaining space is divided proportionally among the frames with sizes set to Relative.
NOTE |
|
When you select Relative from the Units menu, any number youve entered in the Value field disappears; if you want to specify a number, you must re-enter it. If theres only one row or column set to Relative, though, theres no need to enter a number, since that row or column receives all the remaining space after the other rows and columns have space allocated. To be certain of full cross-browser compatibility, you can enter 1 in the Value field; thats equivalent to entering no value. |
Space allocations for frames are complicated; for detailed information, see a book on frames and framesets.