lunchboxcr
04-19-2010, 08:56 PM
Hello, I am having some trouble overlapping the layers in my css code.
here is the code i have for the two layers I am trying to overlap...
The layer titled "lunchbox" contains an image that I want to place on TOP of the layer titled "container".
#lunchbox{
background-color: transparent;
margin-left: 200px;
margin-top: 0px;
}
#container {
background-color: #ffffff;
width: 800px;
border: 1px solid #000000;
margin-left: 380px;
margin-top: 340px;
margin-bottom: 100px;
}
I tried using the z-index tag but that did not seem to work either.
Sorry if this questions sounds dumb, as It has been awhile since I have created a website and I am slightly rusty. I am just frustrating myself more and more trying to get figure this out on my own.
Any help would be greatly appreciated. Thanks :)
here is the code i have for the two layers I am trying to overlap...
The layer titled "lunchbox" contains an image that I want to place on TOP of the layer titled "container".
#lunchbox{
background-color: transparent;
margin-left: 200px;
margin-top: 0px;
}
#container {
background-color: #ffffff;
width: 800px;
border: 1px solid #000000;
margin-left: 380px;
margin-top: 340px;
margin-bottom: 100px;
}
I tried using the z-index tag but that did not seem to work either.
Sorry if this questions sounds dumb, as It has been awhile since I have created a website and I am slightly rusty. I am just frustrating myself more and more trying to get figure this out on my own.
Any help would be greatly appreciated. Thanks :)