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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T00:12:54+00:00 2026-05-31T00:12:54+00:00

I am using a gradient for my button background color, and this only works

  • 0

I am using a gradient for my button background color, and this only works in non IE browsers. I am trying to set a solid background color for IE. When I place the background style before the background gradients in the stylesheet, it simply doesn’t show up. When I place it after, it overrides the gradient in all browsers.

Without it, my button is completely transparent. Can someone help me figure out how to give a background color only to IE? (versions 8 and 9) Or even better.. to set a gradient?

Here is the CSS which works in browsers except IE. The solid background color doesn’t show up at all though:

button {
        background: #3485bf;
    background: -moz-linear-gradient(
        top,
        #59a3d4 0%,
        #3485bf);
    background: -webkit-gradient(
        linear, left top, left bottom, 
        from(#59a3d4),
        to(#3485bf));
}
  • 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-31T00:12:55+00:00Added an answer on May 31, 2026 at 12:12 am

    try to use Filters. Something like

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#59a3d4', endColorstr='#3485bf');
    

    should do the job for you.

    See Transitions and Filters

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

Sidebar

Related Questions

I am trying to add a gradient to a submit button in IE9 using
I want to change ImageView background (in my case gradient color) using selector state
I'm trying to create a CSS3 button which includes an image using multiple background.
How can I create button using pure CSS with a sold background color and
I am trying to create a button on an <a href=# ...> tag using
I would like to put in a background gradient using the NetBeans GUI Builder.
I have a gradient background that I'm using like follows in an ASP.Net Webforms
I'm trying to bring out a glossy xml drawable gradient as a background to
I am trying to create a button using HTML/jQuery that is positioned on the
I am creating a button programmatically. It is rounded and has a gradient background,

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.