December 6, 2000 - LAYER Rendering | WebReference

December 6, 2000 - LAYER Rendering

Yehuda Shiran December 6, 2000
Layer Rendering
Tips: December 2000

Yehuda Shiran, Ph.D.
Doc JavaScript

Netscape 6 does not support the LAYER and ILAYER elements. It means that the browser will silently ignore the <LAYER>, </LAYER>, <ILAYER>, and </ILAYER> tags. The browser will render the HTML page as if those tags are not present. Any other elements (non-LAYER) between <LAYER> and </LAYER> will be rendered as if the <LAYER> and </LAYER> are missing. Obviously, this will change the look of the page. Let's look at an example. The following LAYER element includes one line of text:

<LAYER BGCOLOR="tan">
In Netscape Navigator, these lines should be colored tan. 
They should be white in Netscape 6 and IE.
</LAYER>

Here is the rendering of this element in your browser:

In Netscape Navigator, these lines should be colored tan. They should be white in Netscape 6 and IE.



The line above should be tan in Netscape Navigator. It should have a white background in Internet Explorer because IE silently ignores the LAYER tag. Similarly, Netscape 6 does not support this tag and the line above should have a white background in Netscape 6.