I have a div that I want overlapping on two divs. It will start on the inside div and come out about 26px on to the outer div. It works great in FF, but in IE6 once the div hits div#container it gets cut off and nothing shows up on div#page. See code below:
and here is the CSS
margin: 20px auto;
margin: 0px auto;
As you can see I tried using z-index, but that didn't work. Any ideas?
hi, I think you are doing
I think you are doing the right thing by using z-index. But you have made a few mistakes here. Z-index needs to be given to both the element. for ur's it should also be given to div#container. Also z-index needs to have a position attribute. So you will also need to giv position:relative; to both the elements.
that should work...
That worked perfect, thanks a lot.
My Pleasure.. mihir