Sounds like you're not looking for a CSS solution, but the example
below works in Safari and Firefox (at least) though not, of course, in IE.
Sam
................................................
<html>
<head>
<title>Rounded corners</title>
<style type="text/css">
div.roundedCorners {
background: gray;
border: 20px solid #FFCC00;
border-radius: 100px;
height: 100px;
margin: 100px auto 0 auto;
-moz-border-radius: 100px;
-webkit-border-radius: 20px;
width: 200px;
}
</style>
</head>
<body>
<div class="roundedCorners"></div>
</body>
</html>
On Wed, Feb 25, 2009 at 6:57 PM, weepy <[email protected]> wrote:
>
> Try this :
>
> http://labs.parkerfox.co.uk/cornerz/
>
>
>
> On 25 Feb, 04:57, vikram <[email protected]> wrote:
> > hi
> >
> > I am new to JQuery, i am trying to get a rounded corner for div, i had
> > used the canvas rounded corner, but i find some issues with it.
> >
> > Is there any other js file which can give a rounded corner and also
> > which take the styles i.e. background, border color, radius, etc
> >
> > for example:
> >
> > $("#testDiv").corners( radius: 5, border-color: red, background-color:
> > blue, border size: 1 )
> >
> > Appreciate ur help in advance.
> >
> > Regards
> > Vikram.
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---