Jump to content

two objects at the same place


soeren

Recommended Posts

not sure i under stand what you are asking, you want to display one layer directyl over another layer?

 

if so try changing the z-index of the layers and position them over top of one another

 

exp:

 

//style
#layer 1{position:relative;z-index:1;width:100px;height:100px;}
#layer 2{position:relative;z-index:2;width:100px;height:100px;top:-100px;}

//html
<div id="layer 1"></div>
<div id="layer 2"></div>

 

try that, if this is not what you are trying to do then sorry;)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.