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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:36:07+00:00 2026-06-11T18:36:07+00:00

My problem:I have a link with display block. Everything goes well on IE9. But

  • 0

My problem:I have a link with display block. Everything goes well on IE9. But when I add a filter in order to obtain a gradient, the cursor only has the hand on the border and on the text, not on the rest of the box.

I have test my code in jsfiddle

May I have done something wrong ?
My code will work on all browsers and versions. I just have delete code for other browser in order to be much clear.

  • 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-11T18:36:08+00:00Added an answer on June 11, 2026 at 6:36 pm

    filter works “better” for IE8.
    But for IE9 i would raccomend SVG gradients.

    Here you can find Microsoft’s official SVG gradient background maker

    You’ll obtain something like this:

    /* SVG as background image (IE9/Chrome/Safari/Opera) */ 
    background-image:url(data:image/svg+xml;base64,PHN2ZyBetcetcetc);
    

    And you can add it to your rule this way:

    a {
        padding: 3px 5px;
        margin:5px;
        display:block;
        border:1px solid #000;
        background:#FAFAFA; /* fallback for browsers not supporting gradients */
        background-image:url(data:image/svg+xml;base64,PHN2ZyBetcetcetc); /* FF13, Opera12, IE9 */
        background:linear-gradient(#FAFAFA, #EAEAEA) repeat scroll 0 0 transparent; /* W3C */
    }
    

    Then, with conditional comments you can target IE8 again:

    .ie8 a {
        filter:progid:DXImageTransform.Microsoft.gradient(startColorStr='#FAFAFA',EndColorStr='#EAEAEA'));
    }
    

    Anyway, i suggest you to google for “Visual CSS tool” for a complete cross-browser code.

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

Sidebar

Related Questions

I have a page where everything is working fine, but the one problem is
I have this problem that always occurs when I'm using display: inline-block to display
Hi I have some hyperlinks inside a div with display:block. Problem is that the
I have a link converted to a block using css like that: .button-user-add {
i have a problem using the Catch Clipboard Events code found on this link
I have a flash file menu i am having problem while link it to
I have created a jsfiddle of my problem. Here is a link to the
Similar to this question: link However I have already mastered that. My problem is
Problem: I have a table that prints out vertical but I would like it
I have the following problem: in order to mark an element during different situation

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.