#imageDiv:hover ~ #detailDiv
{
z-index: -999 !important;
}
here
#imageDiv
is first div that to be hover and
#detailDiv
is second div on that css will apply on hover
so if i hover on first div
then zindex
will assign to second div
Works for me