devxlogo

Setting z-index

Setting z-index

Question:
I am having problems setting a lower z-index for a layer that contains a box that still stays on top. Is there any way around this problem? I need all elements in that layer (including

Answer:
Form elements of any sort are problematic in their implementations, because the system frequently treats them as small windows. I’d almost recommend using IFRAMES or ILAYERS in this circumstance–if you have two overlapping IFRAMES, the higher z-index will always be on top, and since the window involved is essentially treated as a distinct surface, any components (even simple ones like frame elements) will stay as part of that surface. Of course, this does mean that the contents of the frame need to either be a separate HTML window or the result of script output. Since it sounds like you’re attempting to create separate window components anyway, this shouldn’t be a problem.

devx-admin

Share the Post: