Of course, these are not true laws, but only some useful advice, so that you may be in the use of layers. It turned out that there were nine laws, we streamlined one, and the following eight:
1. If you want to nested layers, do not use multiple parent layers to share a common single parent layer. If you have to use a fully qualified nested layer in the style table, you should do a frequent check in Netscape4x.
2. Always put the text in a table in the layer - the table should be absolutely sized (in pixels, not percentage) and is not greater than the layer, but the nesting table in the primary table can be set to relatively percentage size. This prevents NC4xx from re-adjusting the text to unpredictable position when the window size changes.
3. Never place the layer in the table. Netscape 4X will not correctly understand layers in the form.
4. Always use the Netscape Resize FIX this plugin on any page with layer or CSS style.
5. Do not expect to be aligned with the centered form or page content when the browser window size or screen resolution changes. There is a plug-in to achieve this effect.
6. Do not try to place the scroll bar in the layer (with overflow properties) - instead of using a DHTML scroller or Project Seven IFRAME technology, for Netscape 4.x users, you can set a specific pop-up page in the iFrame.
7. Never give a layer and a image of the same name - each layer should have its own unique and distinguish between the other elements in the page (in fact, you should not let the elements with the same name appear In the same page).
8. Do not apply events / behavior directly to the layer. They will not work across the browser. Apply them in the layer (link or image) instead of the layer itself.