0

I am useing border-radius css property and its not working in ie any one can suggest me any idea so that i will start working in ie

<style>
   .myclass
   {
       border-radius:10px;
   }
</style>
Vikas Gautam
  • 977
  • 7
  • 23

6 Answers6

3

As you've not specified which version are you encountering this issue, if you are using IE < 9 than you need to use CSS3 Pie as @Rohit suggested, but if you are using IE > 9 than make sure you use <!DOCTYPE html> and also use the below meta tag between the <head> tags

<meta http-equiv="X-UA-Compatible" content="IE=edge" />

Here, edge forces the IE to use the latest rendering engine.

Also make sure you have Document Mode set to IE9 Standards if it's IE9, same goes for ver 10

Community
  • 1
  • 1
Mr. Alien
  • 147,524
  • 33
  • 287
  • 271
2

Check Progressive Internet Explorer. This makes IE to obey some CSS3 properties.

Sarvap Praharanayuthan
  • 4,025
  • 7
  • 46
  • 70
1

PIE makes Internet Explorer 6, 7, 8 capable of rendering several of the most useful

 CSS3 decoration features.

Go to this site

Check to Compatible of Border Radius Browser

Rohit Azad Malik
  • 30,330
  • 17
  • 61
  • 93
1

try this

<style>
   .myclass
   {
  border-radius:10px;
 -ms-border-radius:10px;
   }
</style>

if this not work than you are using older browser u should use pie.htc for ie

Hushme
  • 3,038
  • 1
  • 18
  • 25
1

IE 9 and 10 supports border-radius property.

For IE 8 and 7, you need to do some hacks using CSS3PIE.

Just import the PIE.htc file and do the following,

border: 1px solid #696;
behavior: url(/pie/PIE.htc);

NOTE: please make sure url path is correct else you won't get it work. Check my answer.

Community
  • 1
  • 1
Praveen
  • 53,079
  • 32
  • 129
  • 156
1

Use PIE this will support border radius in IE