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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:12:39+00:00 2026-05-29T05:12:39+00:00

Well I used css3pie in asp.net which is not working. I tried every possible

  • 0

Well I used css3pie in asp.net which is not working. I tried every possible solution. Searched a lot of forums but failed to properly use PIE in asp.net. Let me show you my project structure.

I have master and inner master pages in my project hierarchy.
The css3pie is working on those pages which don’t use master pages.
My css and .htc files are as follows

  • Root
    • css
    • script

When I use css3PIE without Master page the it works:

<script type="text/javascript" src="../Scripts/html5.js"></script>        

<link href="css/IE.css" rel="stylesheet" type="text/css" />

The above code is working. But when i used any page with master. It is not working. My css looks some thing like this:

behavior: url('../Scripts/PIE.htc');

The css is placed in IE.css file. You can see the in above code.
Remember i tried every possible combination to refer .htc in css

behavior: url('../Scripts/PIE.htc');

behavior: url('/Scripts/PIE.htc');

behavior: url('/PIE.htc');

behavior: url('PIE.htc');

with and without quotes

One thing more. A lot of people are saying it is due to relative path. Well i tested those things. when i look at the rendered html in Development tools in IE. It applys the behavior but not working.
Please help me. It will be highly appreciated. Thanks in advance

  • 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-29T05:12:40+00:00Added an answer on May 29, 2026 at 5:12 am

    Ok I fixed the issue. So i am writing here to help other peoples. When you are using master pages in asp.net and you are using .htc file as relative path in css then use position as relative. for target element which used css3 style. For example the css class is round-box

    <style>
    .round-box
    {
      border: 1px solid #696;
      -webkit-border-radius: 8px;
      -moz-border-radius: 8px;
      border-radius: 8px;
      behavior: url(PIE.htc);
    }
    </style>
    

    The html element on which we will apply .round-box style is

    <div class="round-box">This is a round Div<div>
    

    So those who have issue with round corners not working on IE just put IE specific position:relative for IE browsers like.

     <!--[if lt IE 9]>
        <style>        
            .round-box
            {
                position: relative;
            }       
        </style>
     <![endif]-->
    

    This will fix the round issue or those that have no border visible. Keep in mind position:relative will effect child elements. Use it wisely

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

Sidebar

Related Questions

So if I understand well, Garbage collection automatically deallocates objects that are not used
I am writing an ASP.NET application that will keep track of bandwidth being used
I have used PHP for awhile now and have used it well with CodeIgniter,
well iam trying to get version of IE used by user by using $.browser.version
I've used JAXB Marshaller as well as my own marshaller for marshalling pure java
Well, I admit: I've extensively used jQuery.attr to store custom data in DOM elements
Is there anyone who has used or looked into using Jitterbit as well as
I have some non well-formed xml (HTML) data in JAVA, I used JAXP Dom,
String.IsNullOrEmpty() appears to be an extremely well used method and I find myself wishing
Why is that jquery dialog does not work in firefox? this is working in

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.