Support for "border-radius" in IE

Internet ExplorerCss

Internet Explorer Problem Overview


Does anyone know if/when Internet Explorer will support the "border-radius" CSS attribute?

Internet Explorer Solutions


Solution 1 - Internet Explorer

Yes! When IE9 is released in Jan 2011.

Let's say you want an even 15px on all four sides:

.myclass {
 border-style: solid;
 border-width: 2px;
 -moz-border-radius: 15px;
 -webkit-border-radius: 15px;
 border-radius: 15px;
}

IE9 will use the default border-radius, so just make sure you include that in all your styles calling a border radius. Then your site will be ready for IE9.

-moz-border-radius is for Firefox, -webkit-border-radius is for Safari and Chrome.

Furthermore: don't forget to declare your IE coding is ie9:

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

Some lazy developers have <meta http-equiv="X-UA-Compatible" content="IE=7" />. If that tag exists, border-radius will never work in IE.

Solution 2 - Internet Explorer

The answer to this question has changed since it was asked a year ago. (This question is currently one of the top results for Googling "border-radius ie".)

IE9 will support border-radius.

There is a platform preview available which supports border-radius. You will need Windows Vista or Windows 7 to run the preview (and IE9 when it is released).

Solution 3 - Internet Explorer

Solution 4 - Internet Explorer

A workaround and a handy tool:

CSS3Pie uses .htc files and the behavior property to implement CSS3 into IE 6 - 8.

Modernizr is a bit of javascript that will put classes on your html element, allowing you to serve different style definitions to different browsers based on their capabilities.

Obviously, these both add more overhead, but with IE9 due to only run on Vista/7 we might be stuck for quite awhile. As of August 2010 Windows XP still accounts for 48% of web client OSes.

Solution 5 - Internet Explorer

It is not planned for IE8. See the CSS Compatibility page.

Beyond that no plans have been released. Rumors exist that IE8 will be the last version for Windows XP

Solution 6 - Internet Explorer

<!DOCTYPE html> without this tag border-radius doesn't works in IE9, no need of meta tags.

Solution 7 - Internet Explorer

Quick update to this question, IE9 will support border-radius according to: http://blogs.msdn.com/ie/archive/2009/11/18/an-early-look-at-ie9-for-developers.aspx

Solution 8 - Internet Explorer

Use -ms-border-radius: 15px, any element that uses css -ms- is compatible with IE.

Solution 9 - Internet Explorer

The corner radius issue of IE gonna solve.

http://kbala.com/ie-9-supports-corner-radius/

Solution 10 - Internet Explorer

What about support for border radius AND background gradient. Yes IE9 is to support them both seperately but if you mix the two the gradient bleeds out of the rounded corner. Below is a link to a poor example but i have seen it in my own testing as well. Should of taken a screen shot :(

Maybe the real question is when will IE support CSS standards without MS-FILTER proprietary hacks.

http://frugalcoder.us/post/2010/09/15/ie9-corner-plus-gradient-fail.aspx

Solution 11 - Internet Explorer

SOLVED - not rendering border radius correctly in IE 10 and 11

For those not getting the -ms-border-radius: or the border-radius: to work in IE 10,11 And it renders all square then follow these steps:

  1. Click on the gear wheel at the top right of the IE browser
  2. Click on Compatibility view settings
  3. Now uncheck the 2 boxes that are checked by default.

Ensure that the boxes are unchecked as in pic

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionTony the PonyView Question on Stackoverflow
Solution 1 - Internet ExplorerKevin FloridaView Answer on Stackoverflow
Solution 2 - Internet ExplorerDavid JohnstoneView Answer on Stackoverflow
Solution 3 - Internet ExplorerLuis MelgrattiView Answer on Stackoverflow
Solution 4 - Internet ExplorerPeter GView Answer on Stackoverflow
Solution 5 - Internet ExplorerBen SView Answer on Stackoverflow
Solution 6 - Internet ExplorerJAVACView Answer on Stackoverflow
Solution 7 - Internet ExplorersimonrjonesView Answer on Stackoverflow
Solution 8 - Internet ExplorerIago BrunoView Answer on Stackoverflow
Solution 9 - Internet ExplorerjayaView Answer on Stackoverflow
Solution 10 - Internet ExplorerSigmaBetaToothView Answer on Stackoverflow
Solution 11 - Internet ExplorerAllan StarrView Answer on Stackoverflow