Solve the precise positioning of the layer
Using the layer in webpage, we will often encounter such problems: Once the picture resolution changes, the layer is misplaced after the window maximizes. When using the menu inserted layer, this layer will be relatively positioned with its superiors, once it moves it, it will immediately become absolute positioning. This problem is small, but it will bring some trouble to web designers during practical applications. In fact, the core of leaving the layer misplaced is the problem of the parent layer and the child. As long as the parent layer is positioned relative to a point, the relative positioning of the layer can reach the relative positioning of the layer relative to the parent layer. The operation method is as follows: First insert the table in the page (can be set), the mouse is in a cell, and then insert a layer through the menu, this layer is positioned relative to this cell. After inserting a layer, don't move it, and never move, but you can change its size, such as the high and wide wideness of it to "0", so that it no longer affects the editor of other content, otherwise, The "Left" of this layer has become absolutely positioned after the "TOP" attribute. If you become an absolute positioning, you can turn its "Left" with the "TOP" property, and restore it to relatively position. After turning "0", sometimes the sub-layers can see it, and you can press the "F11" button to resume editing. Now the cursor should flash in this layer, then insert the sublayer through the menu, then the child overlaps the parent layer, you can move it at will. No matter how it moves, it is positioned relative to the parent layer. At this time, the problem is also solved. However, be careful not to move "Left" and "TOP" properties because it is positioned relative to the upper left corner of the parent layer. Tips: Insert a form first, inserted into the parent layer in one of the cells, can set it a little bit, such as 20 pixels wide, 10 pixels, so that it does not cover the link below, nor affects The relative positioning of the layer. If you want to use a 778 pixel wide definition table, you can insert the parent layer into the first line of the table, so that you can insert the parent layer after all layers are created! Although the precise positioning of the layer can be achieved by the sub-layer, it is also recommended to use the layer to typ. The layer is used to do special effects!