Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: RE: Layers and Netscape 4.7


Message #1 by Arjan Bosboom <Arjan.Bosboom@d...> on Mon, 3 Sep 2001 11:01:57 +0200
Layers...:

Define layers in Netscape with the <span>-tag and a style-sheet wich also
works in IE

here a test-file:

the layer-class has a position relative to the above layer (the document),
so it is displayed at the position where the tag is in the page.

the sublayer-class has a position absolute to the above layer (layer-class),
so it is displayed at the position of the above layer.

here a test-page...

<html>
<head>
<title>layer - test</title>
<style>
.layer {
	position : relative;
	left : 0pt;
	top : 0pt;
}
.sublayer {
	position : absolute;
	left : 10pt;
	top : 2pt;
}
</style>
</head>
<body>
<span class="layer">
	layer
	<span class="sublayer">
	sublayer
	</span>
</span>
</body>
</html>
-----Original Message-----
From: Rich Rosell [mailto:rar@a...]
Sent: vrijdag 31 augustus 2001 14:36
To: HTML Code Clinic
Subject: [html_code_clinic] Layers and Netscape 4.7




I am having a h&*$ of a time finding a workaround for displaying layers in
Netscape 4.7
Is it possible? Works fine in IE.

Can anyone point me to a solid tutorial?


Thanks,

Rich

  Return to Index