The disadvantage of these .htc based .htc is that since they paint corners using JavaScript and VML, they are slow (compared to border-radius browsers). However, you will usually notice this only if you use the effect heavily.
Unfortunately, in older versions of IE there is no better method for rounding corners (IE now supports border-radius in version 9):
- Images are a lot of work (you have to create new images for different radii).
- Pure JavaScript solutions that do things such as creating multiple
div to create angles are an even slower solution.
I would suggest using CSS3PIE to round corners instead. This uses the same .htc / VML method, but this actively updated library does it in the best way. In addition, it provides support for more CSS3 eye candy.
source share