Layer is newWebsite DesignThe concept is reflected in many products. The layer can be displayed in the specified position and can be set as visible or invisible, which can well realize the typesetting between text, pictures and other elements.
1、 Overview of layers
It is a great progress to introduce the concept of layer in web page design.Using the layer, you can easily realize the mixed arrangement of various elements, such as text, pictures, tables, etc.You can understand the layer in this way: separate the elements of a complex thing.Each element acts as a layer. Layers can be repeated, and all layers are hard combined to form a complete core of complex things.
2、 Create Layer
In Dreamwcaver, there are two types of layers: an ordinary layer and an absolute position Div,That is, the number of pixels away from the top and left of the window. The width, height, and placement order are specified.A simple example will be used to illustrate the basic methods of creating layers and modifying layer attributes.Dramweaver is a visual web page editing tool, which provides a more concise way for web page production. There are two ways to create a layer through the visual interface in Dramweaver.
The first method is to use the [Insert Record] menu, and the specific operation steps are to select the [Insert Record] - [Layout Object] - [AP Div] command in sequence.An AP layer will be generated at the left L corner of Dreamweavecr's workspace. Using the [Div Label] command, an ordinary layer will be generated without any attributes. The second method is more simple, which can generate a recognition layer and a user-defined layer. The fabrication of the recognition layer is as follows: drag the icon in the Layout panel to the working area of Dcamweavercr, and a recognition layer of recognition size will be generated.To draw a white defined layer, you need to do the following: first click the icon in the control panel, then click anywhere in the Dramweavcr workspace, drag to the appropriate position and release the mouse to draw an AP layer of white defined size.In addition, dragging the item icon in the layout control panel to the working area of Dcamweaver will generate a normal layer.
3、 Operation layer
In Dcamweaver, there are three statuses: inactive, selected, and active. You cannot operate on the inactive layer;When modifying the position or other attributes of the entire layer, you must first select the layer, and then you can edit the content added to the layer in pairs.
4、 Modify Layer Properties
To change the attributes of a layer, first select the corresponding layer and select multiple layers.You can click the layer you want to select by holding down the Shift key.The operation steps for changing layer attributes are as follows: use the [Insert] menu to select an AP layer, and then select the layer to set its attributes in the attribute panel.