Which border radius property will work in IE9?
IE9 will support border-radius
see: http://ie.microsoft.com/testdrive/HTML5/01BorderRadius/Default.html
Support for border-radius in IE
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.
Border Radius Not WORKING in IE9
.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.
ie9 border radius
Have you got this at the top of your HTML document (Above the <html>
tag)
<!DOCTYPE html>
IE9 requires this for the website to display the new HTML5 / CSS3 things
Edit: Or many other Doctype's (XHTML etc, but this is the shortest and easiest to remember)
IE9 border-radius
Looks like the page is firing Quirks Mode, try moving those script & css includes down inside the tag... nothing should ever come between a doctype and it's html tag.
Detail explanation here Investigating Document Mode Issues
IE9 border-radius
Looks like the page is firing Quirks Mode, try moving those script & css includes down inside the tag... nothing should ever come between a doctype and it's html tag.
Detail explanation here Investigating Document Mode Issues
border-radius creates an outline in IE
As in my comment above (in the interest of having an answer), use background-clip: content-box
in your .rounded
class.
Here's some reading material:
http://www.css3.info/preview/background-origin-and-background-clip/
Related Topics
Chrome Cut Off Oswald-Light Font
Transform Scale Property Not Working in Chrome & Safari
Purgecss Whitelist Patterns with Tailwindcss
What Transition-Property to Use for Transform
Lato Font Missing Letters in Ie and Firefox
Margin to Apply to Position Div After Skewing with CSS Transform
Style Lower and Upper Fill in HTML5 Range Input
Preventing Hover Event of a Div Triggering on Parent Div
Move Floated Area Inside Paragraph
In ASP.NET.Mvc, What Is the Correct Way to Reference Images Inside of CSS
Line Numbers Every Nth Line with CSS Counters
Why Does Bootstrap Use '!Important' for Responsive Classes
Remove Unwanted Space with Position Sticky