Modify the visibility or ID of a layer

The Layers panel enables you to set the visibility and ID of a layer, which is defined in Microsoft Expression Web as a set of <div> tags whose position property is set to either relative or absolute. In addition to the steps that are provided in this topic, you can also set a layer's visibility in the CSS Properties panel and ID in the Tag Properties panel. For more information, see CSS Properties paneland Tag Properties panel.

To modify layer visibility

  1. Open the web page in either Design view or Code view.

  2. In the Layers panel, in the Layer Visibility column Cc295581.82546f8f-52cd-4b49-bb51-7f9819aee9c0(en-us,Expression.40).png, click the layer that you want to modify.

    Note

    The open eye icon Cc295581.82546f8f-52cd-4b49-bb51-7f9819aee9c0(en-us,Expression.40).png indicates that the layer is visible by default. The closed eye icon Cc295581.54afa8b5-6d32-4ace-9575-c6d6ac566650(en-us,Expression.40).png indicates that the layer is hidden by default. If no icon appears, it means the layer has default visibility. If the layer is set to default visibility and is nested within a different layer or div element, the nested layer inherits the visibility setting from the layer that contains it.

To modify layer ID

  1. Open the web page in either Design view or Code view.

  2. In the Layers panel, in the Layer ID column, double-click the layer that you want to rename. Type the desired layer name in the box.

See also

Tasks

Position a layer
Resize a layer
Set margins, padding, and dimensions in Design view
Set border, padding, and background properties

Reference

Layers panel

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.