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

  • Home
  • SEARCH
  • 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 4601396
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T23:49:08+00:00 2026-05-21T23:49:08+00:00

So, the problem is this: With Firefox if you try to click and drag

  • 0

So, the problem is this:
With Firefox if you try to click and drag a scrollbar that is inside a link it will just try to move the link area.. normal clicking and mouse scrolling works but clicking and dragging does not.

This demonstrates the problem (in firefox only)
http://jsfiddle.net/jz6jW/

Any ideas on how to get past this?

Edit:
for my own situation this solves the problem. http://jsfiddle.net/jz6jW/7/
( to add links to both the text and img instead of just putting everything inside the links )

  • 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-05-21T23:49:09+00:00Added an answer on May 21, 2026 at 11:49 pm

    That’s an odd bug. I’d guess that Firefox is considering the span’s scrollbar to be part of the span. Since the span-with-scrollbar is inside the <a>, the click on the scrollbar is interpreted as a click on the <a>, you should notice the usual anchor coloring change as soon as you click on the scrollbar’s thumb.

    However, it works okay in Firefox if you put the <a> inside the <span>:

    <span class="container">
        <a href="#">
            Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus
        </a>
    </span>
    

    And:

    .container {
        width: 300px;
        height: 200px;
        overflow-y: auto;
        overflow-x: hidden;
        float: left;
    }
    

    http://jsfiddle.net/ambiguous/6rg4m/

    UPDATE: Based on http://jsfiddle.net/ambiguous/wPyms/, your CSS is a bit odd:

    .Text {
        width: 100%;
        max-height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        float: left;
        position: absolute;
    }
    

    This one is floated to the left and absolutely positioned (without specifying the position at that) and that doesn’t make much sense to me. Also, it looks like you are trying to position the image as a background for the text so why not just size the container to match the image and make the image the container’s background? This lets you simplify your markup and your CSS and won’t confuse Firefox (I doubt it would confuse any browser).

    I think the following will give you the appearance and behavior you’re after. The image in your jsfiddle doesn’t go anywhere so I changed it to a kitten.

    HTML:

    <div class="Cont">
        <a href="#">
            <!-- ... -->
        </a>
    </div>
    

    CSS:

    .Cont {
        float: left;
        position: relative;
        background-color: #888;
        width: 400px;
        height: 300px;
        overflow-x: hidden;
        overflow-y: auto;
        background: url(http://farm3.static.flickr.com/2654/3822981633_abc0213105.jpg);
    }
    
    .Cont a {
        color: #fff;
        text-decoration: none;
        display: block;
    }
    

    Live: http://jsfiddle.net/ambiguous/EgUwH/2/

    This is pretty much the same as my original suggestion.

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

Sidebar

Related Questions

I have a Firefox 3.6.2 problem (3.5.x works just fine). This is the code:
How do you get around this Ajax cross site scripting problem on FireFox 3?
I have been puzzling over a problem this morning with LinqToSQL. I'll try and
This is the page I mean. Try to click on the links (Add Side/Track,
This page displays beautifully in firefox but i get all kinds of problems when
Problem This question actually came up at work today. We are planning an experiment
I'm running in to the same problem this individual has . Specifically, I'm trying
i am a beginner and i have a problem : this code doesnt compile
Consider this problem: I have a program which should fetch (let's say) 100 records
This problem crops up every now and then at work. Our build machine can

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.