Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8596565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T00:42:35+00:00 2026-06-12T00:42:35+00:00

I need this fiddle solved. I am unable to interact with DOM elements underneath

  • 0

I need this fiddle solved.

I am unable to interact with DOM elements underneath another HTML element that has a background. This is HTML/CSS 101. However, with backgrounds in combination with rgba and opacity CSS properties, this won’t always be the desired effect. Like in my case, I need the background of an element to always be on top of all other elements.

To be honest, I don’t know where to begin solving this situation. I’m hoping there is a CSS solution that will allow event propagation through elements with backgrounds. I’m doubting that exists.

My other thought is to use a JavaScript solution to somehow force capturing of events to the elements below to act as though the element on top doesn’t even exist.

How can I interact with DOM elements under an HTML element that has a background?

Note that I would need this to work in all modern browsers.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T00:42:36+00:00Added an answer on June 12, 2026 at 12:42 am

    One way I know of to be able to access the link would be to set the pointer-events to none on the #cursor-block div.

    jsFiddle example

    #cursor-block {
        background: rgba(0, 0, 0, .075);
        position: absolute;
        top: 0;
        bottom: 0;
        width: 15px;
        z-index: 2;
        pointer-events: none;
    }
    

    Note that pointer-events doesn’t work below IE9.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Made a fiddle for this: http://jsfiddle.net/terjeto/MN4FJ/ My problem is that dragleave fires when you
Note: This question was marked as solved once, but it figured out that upgrading
I have 2 div's that need to stay side by side. For this I
I have this fiddle at: http://jsfiddle.net/radi8/EwQUW/33/ Notice that the initial table is defined is:
I set up this fiddle with an issue I am encountering. I need the
I need this urgently in my Django site, but because of the time constraint,
I need this for some animation effects and i remember there is a window
I need this for calling a C function from Java class (JNI) and I
I need this because the constructor in the superclass is calling a method which
I need this roadmap of a Hibernate managed object instance. First, I create an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.