Hi!
I'm attempting to display a <div> element on top of my page's content so that the user cannot interact with it while being prompted to answer a question. I have set this <div> to have a position:fixed style (have also tried position:absolute as well).
On my page I have a button with a style of "top:50%; position:relative;" and this button is appearing on top of the <div> element that is supposed to be preventing user interaction. I have attempted to set the z-index of the button so that it is much lower than the <div> but this did not fix the problem. The only way to fix it so far is to remove the position:relative style but this can prove to be a styling problem.
Is there any way to make the <div> cover elements with a position:relative style?
Thanks for your time,
-Frinny