Rajasekar
Rajasekar

Reputation: 18948

Is than any better way for Round corners for Div with jquery.corner.js?

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

Upvotes: 3

Views: 123

Answers (1)

Kris van der Mast
Kris van der Mast

Reputation: 16613

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.

Upvotes: 3

Related Questions