Yes, border radius is a CSS 3 property and is dependent upon the browser. There are javascript toolkits that can help you with this and may give you what you need; do a search for "css 3 support in older browsers" and you'll get lots of good material. Modernizr
is good.
akaii
Member
201 Points
170 Posts
asp.net skins and rounded corners buttons
Feb 23, 2012 01:49 AM|LINK
Hi all !
So after searching and testing almost 20 solutions I can't skin my asp:button with round corners.
I have found many solution and none is working on my skin.
I pretty sure I m not the only one who wants round corners on my asp:buttons so does anybody have a simple solution (including skinning)?
And why the border-radius CSS property isn't working on my site? (is that because I didn't implement CSS 3, if yes how can I implement this?)
Thanks guys for your precious help!
Dave Sussman
All-Star
37716 Points
5005 Posts
ASPInsiders
MVP
Re: asp.net skins and rounded corners buttons
Feb 23, 2012 08:38 AM|LINK
Yes, border radius is a CSS 3 property and is dependent upon the browser. There are javascript toolkits that can help you with this and may give you what you need; do a search for "css 3 support in older browsers" and you'll get lots of good material. Modernizr is good.
chikkanti
Member
270 Points
80 Posts
Re: asp.net skins and rounded corners buttons
Feb 23, 2012 08:47 AM|LINK
why don't you use ajax controls for asp.net
ajax rounded corners extender helps u...
http://chikkanti.wordpress.com/asp-net-ajax/
akaii
Member
201 Points
170 Posts
Re: asp.net skins and rounded corners buttons
Feb 23, 2012 08:44 PM|LINK
Thanks Dave I ll have a look at your search string!
chikkanti ajax rounded corners doesn't work with asp:button and skining
rossisdead2
Participant
1313 Points
300 Posts
Re: asp.net skins and rounded corners buttons
Feb 23, 2012 10:34 PM|LINK
Not all browsers support border-radius. Firefox, Chrome, Safari, and plenty of others do. But IE8 and earlier do not.
Ruchira
All-Star
42941 Points
7024 Posts
MVP
Re: asp.net skins and rounded corners buttons
Feb 24, 2012 08:12 AM|LINK
I would simply use ImageButtons with images if there aren't much buttons in the site.
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.