Hi, i'm new here. And just wanna say i kinda like this site a lot, the design, the content, everything is pretty nice here. I'm a beginner in CSS, and making a site. But the problem is, i have a div with position:absolute; and this box has several elements underneath it.
When i move the mouse in this div, i see that it interacts with the elements underneath it ! (I got those element cursor property set to pointer, so the mouse changes to pointer).
Why is that happening and how to prevent it from happening ?
So the div's cursor should not be pointer, but the elements underneath it's cursors are pointers, and when you hover over the div then the cursor changes?
If that is the problem, then all I can think of is that you should just add cursor: default; to the div.
Actually it's not about just the cursor changing, the underneath elements actually is active, i mean that i can click through that upper div on one of the underneath elements. And i don't want that to happen.
What the problem might be (not sure though) is that because the <div> is display: inline-block;, then the <ul> inside it is acting weirdly; counting as the height of the inline part (where the drop-down arrow is), whilst the <li>s are also being hovered over. It would be easier to be able to have access to the site itself.
I'm a beginner in CSS, and making a site. But the problem is, i have a div with position:absolute; and this box has several elements underneath it.
When i move the mouse in this div, i see that it interacts with the elements underneath it ! (I got those element cursor property set to pointer, so the mouse changes to pointer).
Why is that happening and how to prevent it from happening ?
Here's a screenshot of the problem :
Here's the code :
If that is the problem, then all I can think of is that you should just add
cursor: default;to the div.display: inline-block;, then the <ul> inside it is acting weirdly; counting as the height of the inline part (where the drop-down arrow is), whilst the <li>s are also being hovered over.It would be easier to be able to have access to the site itself.