:: Forum >>

z-index always on top

I have a div that is getting eclipsed by the data grid. I have set the z-index of this div to 1001 but it still gets eclipsed. Any suggestions? Thanks,
Edward
Monday, November 15, 2004
z-index only works if you set position to relative or absolute, could this be the reason?
Alex (ActiveWidgets)
Tuesday, November 16, 2004
Did some experimenting and noted the following matrix below:

Absolute | Relative | Z-index | Top
------------------------------------------------------------
Div 1 x 1
Div 2 x 1 x
------------------------------------------------------------
Div 1 x 1
Div 2 x 1 x
------------------------------------------------------------
Div 1 x 1
Div 2 x 1 x
------------------------------------------------------------
Div 1 x 1
Div 2 x 1
------------------------------------------------------------


Div 1 x 1
Div 2 x 2 x
------------------------------------------------------------
Div 1 x 1
Div 2 x 2
------------------------------------------------------------
Div 1 x 1
Div 2 x 2 x
------------------------------------------------------------
Div 1 x 1
Div 2 x 2 x
------------------------------------------------------------



Div 1 x 2 x
Div 2 x 1
------------------------------------------------------------
Div 1 x 2
Div 2 x 1
------------------------------------------------------------
Div 1 x 2 x
Div 2 x 1
------------------------------------------------------------
Div 1 x 2 x
Div 2 x 1
------------------------------------------------------------





Edward
Tuesday, November 16, 2004
The order of the div rendering solves this problem. I loaded my divs after the grid had been loaded. Thanks,
Edward
Thursday, November 18, 2004

This topic is archived.


Back to support forum

Forum search