lightmatrix
asked on
Infinite z-index - Element always on top
How can I tell an element to have an infinite z-index?
For example, if I have two divs:
<div id="top">Always on top</div>
<div id="bottom">Always on bottom</div>
How can I tell the top div to *always* have a higher z-index?
Thank you!
For example, if I have two divs:
<div id="top">Always on top</div>
<div id="bottom">Always on bottom</div>
How can I tell the top div to *always* have a higher z-index?
Thank you!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Did this solution work? I have not heard from you.
Thanks,
Brad
Thanks,
Brad
top.zIndex = 999;