Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I cannot see the layers

Status
Not open for further replies.

Ducu

Programmer
Oct 2, 2003
30
RO
I am trying a very simple example to learn how to work with layers.
My browser is a IE 6.0 under WinXP HE.

Ex:

<html>
<head>
<title>Layers</title>
</head>
<body>
<layer top=&quot;100&quot; left=&quot;100&quot; width=&quot;200&quot; bgcolor=&quot;red&quot;>
<!-
My LAYER! My LAYER! My LAYER! My LAYER!
->
<nolayer>
This part will be put on screen by old browsers.
</nolayer>
</layer>
</body>
</html>

The only part that appears on my browser is the one for old browsers.
I tried to create web pages including layers with Dreamweaver 4 and the layers did not appear on my browser.

Can you give me a hint what could be wrong ?

Thank you in advance,
Ducu Nagy
 
layers are only supported by NN4.

use div or span for MSIE

<layer><div></div></layer>

You can position the div similarly with

<div style=&quot;top:100px;left:100px;height:100px;width:100px;baground-color:red;position:absolute;&quot;>

DIV tags cannot do everything that the LAYER/ILAYER tags do but close enough.

DIV/SPAN are also supported by NN4 but there may be complications.

----------
I'm willing to trade custom scripts for... [see profile]
 
P.S. layers rock, shame they never became an industry standard :(

----------
I'm willing to trade custom scripts for... [see profile]
 
Thank you !!! It worked very well !!

Ducu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top