Setting frame Property inspector options

Setting frame Property inspector options

Use this Property inspector to name a frame and to set borders and margins.

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.

To specify properties for the selected frame:

  1. Name the frame:

    Frame Name is the name used by a link’s target attribute or by a script to refer to the frame.

    A frame name must be a single word; underscores (_) are allowed, but hyphens (-), periods (.), and spaces are not. A frame name must start with a letter (as opposed to a numeral). Frame names are case-sensitive. Don’t use terms that are reserved words in JavaScript (such as top or navigator) as frame names.

  2. Change the following options as desired:

    Src specifies the source document to display in the frame. Click the folder icon to browse to and select a file.

    Scroll specifies whether scroll bars appear in the frame. Setting this option to Default doesn’t set a value for the corresponding attribute, allowing each browser to use its default value. Most browsers default to Auto, meaning that scroll bars appear only when there is not enough room in a browser window to display the full contents of the current frame.

    No Resize prevents visitors from dragging the frame borders to resize the frame in a browser.

    Borders shows or hides the borders of the current frame when it’s viewed in a browser. Selecting a Borders option for a frame overrides the frameset’s border settings.

    Border options are Yes (show borders), No (hide borders), and Default; most browsers default to showing borders, unless the parent frameset has Borders set to No. A border is hidden only when all frames that share the border have Borders set to No, or when the parent frameset’s Borders property is set to No and the frames sharing the border have Borders set to Default.

    Border Color sets a border color for all of the frame’s borders. This color applies to all borders that touch the frame, and overrides the specified border color of the frameset.

  3. Set the following margin options if you wish (if margin options aren’t visible, click the expander arrow in the lower-right corner of the Property inspector):

    Margin Width sets the width in pixels of the left and right margins (the space between the frame borders and the content).

    Margin Height sets the height in pixels of the top and bottom margins (the space between the frame borders and the content).

Related topics

  • Viewing and setting frame properties and attributes

Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Laying Out Pages with CSS
Managing Templates
Adding Content to Pages
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly