Add or remove a layer
You can add a layer (a <div> tag that is set to either relative or absolute position) to a web page in Microsoft Expression Web by inserting the layer or drawing the layer's dimensions.
Tip
If you prefer to create a layer from scratch without any of the default properties that Expression Web includes when you insert a layer, in the Toolbox task pane or in the Insert menu, on the HTML submenu, select <div> instead of Layer. Your <div> tag must use a style that sets the position property to either absolute or relative in order for the div to be recognized as a layer in Expression Web and appear in the Layers task pane.
To insert a layer in a web page
In Design view or Code view, put your cursor where you want the layer to begin in the web page.
Do one of the following:
In the Layers task pane, click the Insert Layer button .
On the Insert menu, point to HTML, and then click Layer.
In the Toolbox task pane, in the Tags category, double-click Layer.
To insert a new layer and nest it within an existing layer, either put your cursor in the existing layer or select the layer in the Layers task pane, and then in the Layers task pane, click the Insert Layer button .
To draw a layer in a web page
In the Layers task pane, select the Draw Layer button .
In Design view, in your web page, click where you want one corner of the layer to begin, drag away from where you clicked, and release your pointer when the outline is the size you want.
To delete a layer from a web page
With your web page open, do one of the following:
In the Layers task pane, select the layer you want to delete, and then press DELETE or BACKSPACE.
In Design view, select the layer you want to delete, and then on the Edit menu, click Delete or Cut.
See also
Concepts
Modify the visibility or ID of a layer