Click here to Skip to main content
15,900,461 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
How can i create a rounded rectangle in asp.net using a css file or any other method?
Posted
Comments
Sergey Alexandrovich Kryukov 19-Sep-12 3:42am    
What's broken? Google? Bing? too bad... :-)
--SA

you can give border-radius like this

border:1px solid #acb8d3; border-radius:25px ;
 
Share this answer
 
There are a number of Web pages devoted exclusively to this problem. I usually use one of the pretty universal "rounded border generators". There are, too, a number of them:

http://border-radius.com/[^],
http://www.cssportal.com/css3-rounded-corner/[^],
http://www.cssportal.com/css-rounded-corners/[^].

And this one is designed specifically to buttons:
http://www.cssportal.com/css3-button-generator/[^].

Good luck,
—SA
 
Share this answer
 
Hi,

Most of the CSS stuff to round corner will not work in Internet Explorer browser. Even JQuery UI have some button controls that is available with round cornor with different theme. Check http://jqueryui.com/themeroller[^]

I think jQueryUI is the best that you can use. It will not work in IE6. Not sure about other IE versions. If you have strong requirement for roundcorner then you can even use images to display it as button.

Thanks.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900