...

View Full Version : Rounded Corners



modm
04-05-2009, 06:39 PM
I have a div that i want to have rounded corners, what is the best way to do this?
I know you can do it using a number of divs with different backgrounds, is there an easier way to do this is using css?

Excavator
04-05-2009, 07:02 PM
Hello modm,
Here's a couple examples of rounded corners. Look at the source to see how they're done.


With images (http://nopeople.com/CSS/rounded%20corners/index.html)

Without images (http://nopeople.com/CSS/rounded%20corners%20-%20CSS%20only/index.html)

yorgo
04-05-2009, 08:57 PM
for mozilla browsers use: -moz-border-radius
for safari use: -webkit-border-radius

let IE users see squares until it supports round corners

twodayslate
04-05-2009, 08:58 PM
for mozilla browsers use: -moz-border-radius
for safari use: -webkit-border-radius

let IE users see squares until it supports round corners
agreed.

if IE, use jquery rounded corners



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum