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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T06:29:44+00:00 2026-06-05T06:29:44+00:00

To implement the border-radius in IE8 I use border-radius.htc The block in which to

  • 0

To implement the border-radius in IE8 I use border-radius.htc

The block in which to work correctly realzovat border-radius:

.mc-button
{
    -moz-transition: all 0.218s ease 0s;
    -moz-user-select: none;
    background-color: #CBCBCB;
    background-image: -moz-linear-gradient(center top , #CBCBCB, #DCDCDC);
    border: 1px solid #DCDCDC;
    color: #FFFFFF;
    cursor: default;
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    height: 29px;
    line-height: 29px;
    min-width: 70px;
    padding: 0 8px !important;
    text-align: center;
    overflow: visible;
    font-family: inherit;
    font-size: inherit;
    float: left;
    text-decoration: none;
    display: block;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    -moz-outline-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-family: Arial, Sans-Serif !important;
    behavior:url(Content/border-radius.htc);
}

According to the list of attached files – border-radius.htc connects to the page

Can you please tell how to solve the problem?

UPDATE (06/13/2012)

If the code is replaced by a button:

.mc-button
{
    border: 1px solid #696;
    height: 29px;
    line-height: 29px;
    min-width: 70px;
    text-align: center;
    padding: 0 8px !important;
    overflow: visible;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    float: left;
    display: block;
    background: #00ADEE;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#00ADEE), to(#0078A5));
    background: -webkit-linear-gradient(#00ADEE, #0078A5);
    background: -moz-linear-gradient(#00ADEE, #0078A5);
    background: -ms-linear-gradient(#00ADEE, #0078A5);
    background: -o-linear-gradient(#00ADEE, #0078A5);
    background: linear-gradient(#00ADEE, #0078A5);
    -pie-background: linear-gradient(#00ADEE, #0078A5);
    behavior: url("Content/PIE.htc");
}

and to declare as:

<a id="login_button" class="mc-button mc-button-submit ">SomeText</a>

.mc-button-submit
{
    border: 0px solid #0076A3;
    background: #00ADEE;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#00ADEE), to(#0078A5));
    background: -webkit-linear-gradient(#00ADEE, #0078A5);
    background: -moz-linear-gradient(#00ADEE, #0078A5);
    background: -ms-linear-gradient(#00ADEE, #0078A5);
    background: -o-linear-gradient(#00ADEE, #0078A5);
    background: linear-gradient(#00ADEE, #0078A5);
    -pie-background: linear-gradient(#00ADEE, #0078A5);
    color: #FFFFFF;
    text-align: center;
}

Rounding it disappears. Adding to the .mc-button-submit line behavior: url (“Content / PIE.htc”); does not help.

Can you please tell how to connect a second class with the parameters of the background?

  • 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-05T06:29:46+00:00Added an answer on June 5, 2026 at 6:29 am

    Standalone .htc hack is not working for background gradient and border-radius both at the same time.

    Try to replace css gradient with simple image. This trick will work.

    Also you can use css3pie (thanks to @dop-trois) — this pure Javascript tool is more perfect than standalone .htc file.

    PS. Inset box-shadows cannot be implemented in both solutions.

    PPS: the code you need is here: (i changed it a bit to make it more valid and correct):

    .mc-button {
        font: bold 11px/29px Arial, Helvetica, sans-serif !important;
        text-align: center;
        text-decoration: none;
        color: #FFFFFF;
    
        border: 1px solid #DCDCDC;
        height: 29px;
        min-width: 70px;
        padding: 0 8px !important;
        overflow: visible;
        display: block;
    
        float: left;
    
        /* Unique link for this gradient — http://www.colorzilla.com/gradient-editor/#cbcbcb+0,dcdcdc+100;Custom */
        background-color: #CBCBCB;
        background: -moz-linear-gradient(top,  rgba(203,203,203,1) 0%, rgba(220,220,220,1) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(203,203,203,1)), color-stop(100%,rgba(220,220,220,1))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,  rgba(203,203,203,1) 0%,rgba(220,220,220,1) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,  rgba(203,203,203,1) 0%,rgba(220,220,220,1) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top,  rgba(203,203,203,1) 0%,rgba(220,220,220,1) 100%); /* IE10+ */
        background: linear-gradient(top,  rgba(203,203,203,1) 0%,rgba(220,220,220,1) 100%); /* W3C */
    
        /* css3 stuff below: (via css3please.com) */
        /* no one prefix except `-webkit` is needed nowadays for `border-radius` */
        -webkit-border-radius: 5px;
                border-radius: 5px;
        -webkit-transition: all 0.218s ease-out;
           -moz-transition: all 0.218s ease-out;
            -ms-transition: all 0.218s ease-out;
             -o-transition: all 0.218s ease-out;
                transition: all 0.218s ease-out;
    
        /* PIE specific accordingly http://css3pie.com/documentation/q-and-a/ */
        behavior: url(PIE.htc);
    }
    

    You should be sure that you have included PIE.htc correctly (important!)

    Relative questions

    • Using CSS3Pie htc for border-radius in IE8
    • CSS3 PIE – Giving IE border-radius support not working?
    • CSS3 PIE – Giving IE border-radius support not working?

    Accordingly to answers possible problems may be in mime type (“text/x-component”).

    Also possible solution may be:

    position: relative;
    z-index: 0;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a website and i need to implement border radius for text box
I'm trying to implement a button in WPF which shows a menu when you
I just discovered -moz-border-radius implements rounded corners on the wrapped/bordered element also, for instance
Implement an algorithm to determine if a string has all unique characters. What if
I implement notifications in my IOS app, and I use customized sounds. Everything works
CSS3 rules bring lots of interesting features. Take border-radius , for example. The standard
I try to implement the following code: <div class=clearid=usernameline>username:<input type=text name=username id=username style=border:1px solid
I need to implement textbox with inplace button (for search or filter purposes). So,
I'm trying to implement a 'fade into' script which would affect two images :
I'm trying to implement behavior similar Excel in a QTableView, where a border is

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.