Divs with curved edges!

kasio99

New Member
I'm using dreamweaver and would like to know how to make divs with curved edges. Someone told me this is only possible in FF not IE. Is this true?

Thanks for your help!
 

mezangath

New Member
You can use border-radius. However, this isn't standard CSS and you will have to call on either moz or webkit to do it, therefor it only works in Mozilla/Firefox and Webkit browsers (Chrome, Safari etc.).

HTML:
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;

	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;

Just insert in your div properties.

However, there is always the option of using images to rounden the div.
 
Top