In simple words:
Rounded corners created with images should work in all browsers.
And those created using CSS3 work in modern browsers, but not in IE 9.
What is the difference and the best way to create them right now?
You should use CSS3 borer-radius , as well as browser-specific prefixes for modern browsers. To get rounded corners working in IE, you can use:
PIE makes Internet Explorer 6-8 capable of providing some of the most useful CSS3 styling features.
Here is an example of cross-browser rounded corners:
#myAwesomeElement { border: 1px solid #999; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; behavior: url(path/to/PIE.htc); }
Sarfraz
source share