CSS Rounded Corners

Soldato
Joined
1 Dec 2004
Posts
23,052
Location
S.Wales
Hi There,

Im looking to try out rounded corners on my website to see if it gives it a more modern look. Whats the best and easiest way to do this keeping in mind cross browser support?

Iv heard CSS has a rounded corner function to use, I have also heard about putting a circle in each corner of the div and repeating? would rather use the css element if possible as it would be easier.

Thanks all

:)
 
They way I applied rounded corners was using: http://www.curvycorners.net/

Install is pretty easy:

- Upload the curvycorners.js file.

- Add the following to the header:

Code:
<script type="text/JavaScript" src="curvycorners.js"></script>

- Add the following to the style section of the div you want rounded corners on:

Code:
-moz-border-radius:2ex; -webkit-border-radius:2ex;


Works so well :)

Thanks dude :)
 
Hmm, hope they change their ways with all this non-conforming, this is why my css is full of IE hacks and fixes to get it working with IE, even with CSS1 and CSS2
 
Back
Top Bottom