Posted By

neal_grosskopf on 01/14/09


Tagged

css javascript CSS3


Versions (?)

Who likes this?

6 people have marked this snippet as a favorite

neal_grosskopf
mihael
jeremyhcobb
enajenkins
hERB
colingardom


CSS Rounded Corners In Internet Explorer, Firefox & Safari Using Border Radius


 / Published in: CSS
 

URL: http://www.nealgrosskopf.com/tech/thread.asp?pid=30

Find out how to do rounded corners in CSS. A new method has recently come out that makes it extremely easy to implement.

  1. <script type="text/javascript" src="http://www.dillerdesign.com/experiment/DD_roundies/DD_roundies_0.0.2a-min.js"></script>
  2. <script type="text/javascript">
  3. /* IE only */
  4. DD_roundies.addRule('.roundify', '10px');
  5.  
  6. /* varying radii, IE only */
  7. DD_roundies.addRule('.something_else', '10px 4px');
  8.  
  9. /* varying radii, "all" browsers */
  10. DD_roundies.addRule('.yet_another', '5px', true);
  11. </script>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: Gb2000 on December 16, 2010

Legal cara, ficou muito bom. Parabéns.

Posted By: goldeagle on May 21, 2011

yes, this guide is best. it work with IE7, IE8, Firefox. this is the one i am looking. THANK YOU !

You need to login to post a comment.