圆角矩形按钮 [英] Rounded Rectangle Button

查看:106
本文介绍了圆角矩形按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何使用css文件或任何其他方法在asp.net中创建一个圆角矩形?

How can i create a rounded rectangle in asp.net using a css file or any other method?

推荐答案

您可以像这样给边框半径

border:1px实心#acb8d3; border-radius:25px;
you can give border-radius like this

border:1px solid #acb8d3; border-radius:25px ;


有许多专门解决此问题的网页.我通常使用相当通用的圆形边界生成器"之一.也有一些:

http://border-radius.com/ [ ^ ],
http://www.cssportal.com/css3-rounded-corner/ [ http://www.cssportal.com/css-rounded-corners/ [ http://www.cssportal.com/css3-button-generator/ [
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




大部分CSS素材都无法在Internet Explorer浏览器中使用.甚至JQuery UI也具有一些按钮控件,这些按钮控件可用于具有不同主题的圆形角膜.检查
http://jqueryui.com/themeroller [
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.


这篇关于圆角矩形按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆