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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T15:06:45+00:00 2026-06-18T15:06:45+00:00

On my page I have an element with the following CSS rules: .pointer {

  • 0

On my page I have an element with the following CSS rules:

.pointer {
    position: fixed;
    background-repeat: no-repeat;
    background-position: center;
    top: 70%;
    z-index: 1;
    width: 3%;
    height: 6%;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    float: left;
    left: 0;
    background-image: url("img/myImage.jpg");
}

Works good in the browsers I tested, only Opera does not like it. When I scroll, the background image also gets “scrolled” and therefore disappears as is gets out of the container.
I believe that is a known problem, but still I wasn’t able to find a solution.

On this page a method is described how to hide CSS rules from Opera, but besides the fact that this post is anno 2002, I actually don’t want to use CSS hacks.

Removing overflow: hidden does not fix it, adding background-attachment: fixed didn’t help either. Any other ideas or solutions?

EDIT:
http://jsfiddle.net/mvV7G/

  • 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-18T15:06:47+00:00Added an answer on June 18, 2026 at 3:06 pm

    I have taken a look at your fiddle project. I believe that the problem is caused by having the background image and border radius applied to the same element, I honestly can’t explain why this only happens in opera.

    But a simple solution is to wrap the anchor in a div and split the styling between each, ensuring that the background image and radius are on separate elements.

    I have created a fiddle with a possible solution, it needs some tidying up but I think it will get you on track – http://jsfiddle.net/zyj6Z

    The CSS is below:

    .link {
    -ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d000000, endColorstr=#4d000000)";
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d000000, endColorstr=#4d000000);
    zoom: 1;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBvbHlnb24gZmlsbD0iI2ZmZiIgcG9pbnRzPSIyLjc2OSw3Ljk5MiAxMC43NjIsMCAxMy4xMzIsMi4zNjIgNy42MDQsNy44OTkgMTMuMjMxLDEzLjUyOCAxMC43NjIsMTYgMi43NjksOC4wMDcgMi43NzYsOCIvPjwvc3ZnPg==");
    background-position: center;
    background-repeat: no-repeat;
    width: 10%;
    height: 10%;
    position: fixed;
    top: 70%;
    left: 0;
    }
    .test {
    width: 10%;
    height: 10%;
    position: fixed;
    top: 70%;
    left: 0;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    overflow: hidden;
    -webkit-border-radius: 0 5px 5px 0;
    -moz-border-radius: 0 5px 5px 0;
    border-radius: 0 5px 5px 0;
    background-color: #000000;
    background-color: transparent\9;
    background-color: rgba(0, 0, 0, 0.3);
    text-indent: 100%;
    white-space: nowrap;
    }
    

    and HTML here:

    <div class="outer">
    <div class="wrap">
         <h1>Stuff</h1>
    
        <div class="test"> 
            <a href="#" class="link">Hide me!</a>
        </div>
        <ul>
            <li>
                <img src="//placehold.it/150x150" />
            </li>
            <li>
                <img src="//placehold.it/150x150" />
            </li>
            <li>
                <img src="//placehold.it/150x150" />
            </li>
            <li>
                <img src="//placehold.it/150x150" />
            </li>
            <li>
                <img src="//placehold.it/150x150" />
            </li>
            <li>
                <img src="//placehold.it/150x150" />
            </li>
            <li>
                <img src="//placehold.it/150x150" />
            </li>
            <li>
                <img src="//placehold.it/150x150" />
            </li>
            <li>
                <img src="//placehold.it/150x150" />
            </li>
        </ul>
    </div>
    

    I hope this helps.

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

Sidebar

Related Questions

I have an element on a page with background image set using css: //
I have the following element in my page: <div id=banner class=disappear>Hello</div> The CSS for
I have the following element on my page, which gets a dynamically added ID
I have the following elements in a HTML page: <body> <div style=height:100%; width:100%> <div
I have an element in a page which is absolute positioned using TOP and
The page has the following CSS: input[type=text] { display: inline; padding: 7px; background-color: #f6f6f6;
I have the following element on my form: <li> <label class=fixed for=Interests>Program genre interests:</label>
I have dynamically added an element in page using jquery with following function. function
I have the following HTML/CSS code: <div id=container style=padding:5px; width:600px;> <div id=panel> <a style=padding:5px;
I have a div on my page with the following css: .modal { display:

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.