# [web] Rounded Corners...

This topic is 4445 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

I'm looking for a way to have rounded corners, but have it elegent. for instance:
<div class="RoundedBox">
Text
</div>

There are a few ways I can see doing this, the first one that comes to mind is by javascripting in some nested divs, but I don't want to do that... anyone have any methods of doing this that is both elegent and standards compliant?

##### Share on other sites
http://www.alistapart.com/articles/customcorners/ and http://www.alistapart.com/articles/customcorners2/. That should get you going. There's also the CSS3 rounded-corners attribute. Some CSS3 browsers support it. Mozilla ofcourse requires the -moz- prefix before the CSS3 attributes.