CSS Rounded Corners In All Browsers

CSS Rounded Corners In All Browsers

Coding

21 February 2011

no comments :(

Tags: , , , , , , ,


how to do CSS Rounded Corners In All Browsers?

Been playing around ad thought to share in case some of you out there don’t know how to do it

his will depends on how did you tag your html, but for a div with a class of “rounded-corners” like this

you can add this styling to your CSS file to give you a 10px rounded corners

— Firefox, Safari & Chrome —

am not sure if IE supports it or no but found a hack online so thougt to add it just in case.

you can use the hack by downloading this file here

http://code.google.com/p/curved-corner/downloads/list

extract the zipped file then add the border-radius.htc to your css folder then add the following line to your styling

behavior: url(/css/border-radius.htc);

so the end result would look like this


You might like:




Buysellads


AOL Ads


Subscription Box

Enter your email address to subscribe to this blog and receive notifications of new posts by email. (spamming is for jerks, and jerks we are not!).


SpeedyAds


Top Posts (past 24hrs)


Facebook Thingy


@flashsolver