views:

50

answers:

1

I am currently using jquery corner for making a div round cornered. But the problem I am facing is that when the background of that rounded div is a gradient, it is showing some odd colors in the corners.

I want to know any other better way for including round corners for div

EDIT 1:

$(".nav").corner("20");

This code im using for the round corner of 20 px

+3  A: 

I want to know any other better way for including round corners for div

The "best" way in the near future will be CSS3 which provides designers the ability to give border-radius settings like for example here: http://www.css3.info/preview/rounded-border/.

The downside of it is that it's at the moment not supported by current browsers but that's also explained in that article.

XIII
I would do this as well. It works in most browsers except IE < v9. IE users can just accept it won't look as good and give them a good reason to upgrade!
Craig