«

»

Aug 06 2006

CSS Rounded Corners

While working on Call Log today, I was looking for a way to round corners of a div without using images to make it more dynamic. However, the only code I could find works with Firefox and not IE. Since I like new and interesting ways to code, here is the code.

You want to replace the #some_div with whichever div you are wanting to round.

#some_div{
-moz-border-radius: 10px;
}

css, rounded corners, Cascading Style Sheets, styles, border-radius, divs, firefox, ie

About the author

Timothy Haroutunian

Timothy Haroutunian is a ServiceNow Cloud Implementation Specialist at Acorio. ServiceNow is an IT Management solution that allows for a complete view of your IT and physical environment.

Permanent link to this article: http://www.armenianeagle.com/2006/08/06/css-rounded-corners/

http://pagead2.googlesyndication.com/pagead/show_ads.js

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.