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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:19:55+00:00 2026-05-20T14:19:55+00:00

I have PIE on my site so that IE can do border-radius, drop-shadow, etc.

  • 0

I have PIE on my site so that IE can do border-radius, drop-shadow, etc. All was well until I decided to make the site load a little quicker by converting the common background images into a sprite and positioning them with CSS. This works fine until you zoom in in IE. Whilst the div, border-radius and drop shadow resize nicely, the background image doesn’t scale and ends up showing the other sprite images.

Does anyone know how to sort out PIE (either by css or messing with the behaviour) so that it behaves nicely in IE when a user changes the page zoom?

  • 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-20T14:19:55+00:00Added an answer on May 20, 2026 at 2:19 pm

    Not ideal, but have resorted to removing the behavior attribute from every element using javascript:

    <!--[if ie]>
    <script type="text/javascript">
    function removeBehavior()
    {
      if((screen.deviceXDPI / screen.logicalXDPI) != '1')
      {
        $("*").each(function(){
          $(this).css("behavior", "none");
        });
      }
    }
    removeBehavior();
    window.onresize = removeBehavior;
    </script>
    <[endif]-->
    

    The function will only run in IE – what it does is check the screen size. If it is not 1 (equals 100%) then (using jQuery) go through the entire dom and remove the behavior attribute (or at the very least set it as an empty value).

    I then call the function on the first page call and add it to the onresize event in case the user changes the zoom whilst viewing the page.

    It’s not ideal but it works.

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

Sidebar

Related Questions

I have external data that I'd like to make into a pie chart with
I have a pie chart made up of 12 slices, which are all within
I have some code that generates image of a pie chart. It's a general
I have the center point, radius, and angle to draw the pie, but the
I have a pie chart, I also have a legend with words that identifies
I have to draw 3D pie chart in ipad using core-plot API .how can
I have a chart typeo of pie and need to change the colors that
I have a ControlTemplate that contains a XamWebChart . For each pie slice created
I can't quite figure out why. But I have some code which uses PIE.htc
I have a component with two Pie Charts that display percentages at two specific

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.