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
  • 997
  • 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
  • 153,751
  • 34
  • 298
  • 278
2

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

Sarvap Praharanayuthan
  • 4,212
  • 7
  • 47
  • 72
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
  • 31,410
  • 17
  • 69
  • 97
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,108
  • 1
  • 20
  • 26
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
  • 55,303
  • 33
  • 133
  • 164
1

Use PIE this will support border radius in IE