Wednesday, February 3, 2010

CSS: Non-image rounded corners

Not widely supported by versions of I.E. Otherwise, renders reliably in Safari and Firefox. Use at your own peril... include this snippet in your stylesheet. Then wrap your content with a DIV tag with the following ID like so div id="inner"
#inner {
-moz-border-radius: 15px 15px 15px 15px;
-webkit-border-radius: 20px; }
Click here to see example>>

No comments:

Post a Comment