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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T12:38:19+00:00 2026-06-16T12:38:19+00:00

I have a div that I want to display as a small colored circle.

  • 0

I have a div that I want to display as a small colored circle. I added rounded corners using the border-radius property, which of course works perfectly in Firefox, Chrome, and even IE9, but not earlier versions of IE. I am trying to use CSSPIE to render the rounded corners in earlier versions of IE. I downloaded PIE.htc and saved it in my css folder.

This is the gist of my css:

width: 25px;
height: 25px;
background-color: red;
-moz-border-radius: 50px;
-webkit-border-radius: 50px;
border-radius: 50px;
behavior: url(/PIE.htc);

However, the div is still displaying in IE7 and 8 as a red square instead of a circle. What am I doing wrong?

  • 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-16T12:38:20+00:00Added an answer on June 16, 2026 at 12:38 pm

    Path issue?


    Replace:

    behavior: url(/PIE.htc);
    

    With:

    behavior: url("PIE.htc");
    

    Edit

    From the docs:

    IE interprets the URL for the behavior property relative to the source
    HTML document, rather than relative to the CSS file like every other
    CSS property. This makes invoking the PIE behavior inconvenient,
    because the URL has to either be:

    1. Absolute from the domain root — this makes the CSS not easily moveable between directories — or,
    2. Relative to the HTML document — this makes the CSS not easily reusable between different HTML files.
    

    Change your path to be relative to the HTML file rather than relative to the css file.

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

Sidebar

Related Questions

I have a DIV that I want to touch the bottom of the screen
I have a div that I want to toggle between displaying or not when
I have a div that I want when user click on a button slideUp
I have a div set transparent with rgba and want on that div an
I have 5 images that I am appending to a div that I want
I have a floating div that gets displayed, and I want it to be
I have old text inside a div. I want that text to fly out
I have an id: div id =untitled-region-5 I want to grab that id and
I have the following function that I only want to run inside <div id=imgWrapper>
I have a php file that returns a div and a javascript. I want

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.