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 8982673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T20:38:18+00:00 2026-06-15T20:38:18+00:00

so I have a link that is displayed under a div. This is a

  • 0

so I have a link that is displayed under a div. This is a circle using border-radius property. However, when I move the cursor over this link, it behaves just like that div is still a square and I can’t click through.

I can listen for JavaScript click event and work some math to do this, but I hope there is another way that I just don’t see.

a {
    display: block;
    width: 600px;
    height: 150px;
    background: yellow;
}

a:hover {
    color: yellow;
    background: blue;
}

div {
    width: 250px;
    height: 250px;
    margin-top: -100px;
    overflow: hidden;
    background: red;
    border-radius: 125px;
}

Demo: http://jsfiddle.net/D4R9C/1/

Works as expected in Firefox and IE9.
Works as described above in Chrome 23, Safari 5 and Opera 11.5.

Thanks for any advice.

  • 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-15T20:38:19+00:00Added an answer on June 15, 2026 at 8:38 pm

    Click through a DIV to underlying element works different in browsers. Opera needs manual event forwarding, Firefox and Chrome understand CSS pointer-events:none; and IE doesn’t need anything with transparent background; with e.g. background:white; opacity:0; filter:Alpha(opacity=0); IE needs forwarding like Opera.

    See forwarding test at http://caniuse.com/pointer-events. Pointer-events CSS property has been moved from CSS3-UI to CSS4-UI.

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

Sidebar

Related Questions

I have link that calls a function when clicked: <a href=javascript:spawnMenu(this); id=link1>Test1</a> To make
I have a link that, when clicked, should deliver an email by using an
I have a link that looks like this: <a onclick=myLightbox rel=lightbox href=image.jpg title=> I
Right now I have a link that causes a hidden div to appear when
I have this HTML: <div class=info> Some Text Boom A <a onclick=menu('id1');>Link</a> | More
I'm using .net 2.0. This is a project that I have taken over for
So I have an html-structure that looks like this: <div id=contact-wrapper> <div> <h4>België</h4> <p>Tuinwijklaan
I have a popup that is displayed above the link when I hover over
I have a ListView that displays a link button. I need the link button
I have a link that I want to center vertically in the .well class

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.