I need to have rounded corners in buttons (input type submit), but I haven't found any JavaScript library that would do that. Currently I use http://blue-anvil.com/jquerycurvycorners/test.html to round other elements, but I doesn't round input buttons or li-elements. I prefer jQuery plugins, because I use jQuery to all other plugins and components in my app. So is there any way to round buttons in IE ?
+1
A:
You could fake it by making a rounded box with a link that submits the form. Of course, this wouldn't work with JavaScript disabled, so you'd have to watch out for that. Also, you could just use a background image that has rounded corners.
musicfreak
2009-07-07 06:27:32
A:
I use the following in my personal website (you can get the link from my profile) and it seems to work well:
Alan Haggai Alavi
2009-07-07 06:36:13
Only problem is that it doesn't work with latest jQuery version, it requires older version...
2009-07-07 06:37:13
Oh I see. I have not updated jQuery for some time now.
Alan Haggai Alavi
2009-07-07 06:38:56
+2
A:
This jQuery plugin will fix buttons for you. It takes buttons, create anchor tags of them, and style them. This way, users without JS will only see the standard squared off button (and it will work perfectly), so it's no big loss...
I've used it myself, and it's easy to use.
peirix
2009-07-07 06:43:36
+1
A:
Try using DD_roundies, its a very efficient js code that can round anything, and supports hover also.
vsync
2009-10-10 08:17:17