Forget CSS, use jQuery to make Rounded Corners!
http://methvin.com/jquery/jq-corner-demo.html

Comments

toma’s picture

Hi

Thanks for this, as many people like corners (me too) can u please make a tutorial, or how to ! add this to drupal

---
Daily webmaster news and directory (digg style)
http://www.dwebmaster.com

ola90@drupal.ru’s picture

After poking with this script I finally managed to insert it into my page. I wanted rounded corners at the top of my header and I'm using Garland.
I added <?php print '<script type="text/javascript" src="/drupal/misc/jquery.corner.js"></script>' ?> to page.tpl.php just after the <?php print $scripts ?> line.
Then I added

<?php print '<script type="text/javascript">
$(function(){
$("#header").corner("round top 20px");
});
</script>' ?>

after the <div id="header"> line.

ckng’s picture

There is already a module making use of methvin's jquery rounded corner

http://drupal.org/project/rounded_corners

After activating the module, and download jquery.corner.js from http://methvin.com/jquery/jquery.corner.js and place it inside your rounded_corners folder. You can put your jquery code in admin/settings/rounded_corners.

Cheers,
CK Ng