Hi,
In the following example, no matter what z-index I set, div2 is always
above the first div. Does anybody know how to change css to make div2
in the bottom? Why z-index does not work with transform?
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
In the following example, no matter what z-index I set, div2 is always
above the first div. Does anybody know how to change css to make div2
in the bottom? Why z-index does not work with transform?
You just need to make sure that the DIV elements have a position value.
Set it to
On Jan 8, 2012, at 1:47 PM, Peng Yu wrote:
In the following example, no matter what z-index I set, div2 is always
above the first div. Does anybody know how to change css to make div2
in the bottom? Why z-index does not work with transform?
In general, z-index only applies to positioned
On Jan 8, 2012, at 3:04 PM, Peng Yu wrote:
So my code (without position:absolute) should work theoretically
speaking. It is just that the feature hasn't been implemented in the
browser. Is it the case?
It (your example) theoretically should work if you use a negative z-index or if
your