This is a layer called layer2
This is a layer called layer1

 

 

 

 

 

 

This is an example of two layers.

Source for layers.html:
<html>
<head>
<title>Layers Example</title>
<style>
#layer1 { 
	position:absolute; z-index:1; 
	top:25px; left:100px; width:200px; height:125px; 
	background-color:navy; layer-background-color: navy; 
	font-family: arial, tahoma; font-size:10pt; color: white
}

#layer2	{ 
	position:absolute; z-index:2; 
	top:75px; left:150px; width:200px; height:100px; 
	background-color:#cccccc; layer-background-color: #cccccc; 
	font-family: verdana, tahoma; font-size:10pt; color: black
}
</style>
</head>
<body bgcolor=white text=black>
<DIV ID="layer2">This is a layer called <b>layer2</b></DIV>
<DIV ID="layer1">This is a layer called <b>layer1</b></DIV>

</body>
</html>

Back