求一个能使button的上面两个角成弧形下面两个角是直角的css,高手救救啊。
解决方案 »
- 我在本地上运行没问题,但部署到服务器上,就报找不到.cs文件错误
- asp.net问题
- 大家有没有看到今天google首页的图片啊,是一张JPG的,请问它是怎么实现FLASH的效果的谢谢
- 奶奶的,在VS2005里,居然没有新建文件?怎么在IDE里新建一个ASPX文件?
- 求一个输入验证问题
- 关于DataBinder.Eval,急,在线==================================
- 如何捕捉ie页面关闭
- 初学者求救!!!IIS+asp.net+vc#安装不成功
- 如何使datagrid控件一个格子中显示的文字不换行?
- vs2012 mvc4创建项目运行app_data下没生成数据库
- 200分问一个关于FCKeditor对话框字体大小的问题
- ICallbackEventHandler 回调
按钮???
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
.buttonCSS
{
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
background-color: #66FFFF;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
}
</style>
</head><body>
<form id="form1" name="form1" method="post" action="">
<label>
<input name="ww" type="submit" class="buttonCSS" id="ww" value="提交" />
</label>
</form>
</body>
</html>
为什么不可以用ImageButton了?
<head>
<title>css圆角效果--网站每日新</title>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<style type="text/css">
div.RoundedCorner{background: #9BD1FA}
b.rtop, b.rbottom{display:block;background: #FFF}
b.rtop b, b.rbottom b{display:block;height: 1px;overflow: hidden; background: #9BD1FA}
b.r1{margin: 0 5px}
b.r2{margin: 0 3px}
b.r3{margin: 0 2px}
b.rtop b.r4, b.rbottom b.r4{margin: 0 1px;height: 2px}
</style>
</head>
<body>
<div class="RoundedCorner">
<b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
<br>无图片实现圆角框<br><br>
<b class="rbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b>
</div>
</body>
</html>
<head>
<title>css圆角效果--网站每日新</title>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<style type="text/css">
div.RoundedCorner{background: #9BD1FA}
b.rtop, b.rbottom{display:block;background: #FFF}
b.rtop b, b.rbottom b{display:block;height: 1px;overflow: hidden; background: #9BD1FA}
b.r1{margin: 0 5px}
b.r2{margin: 0 3px}
b.r3{margin: 0 2px}
b.r5{margin: 0 0px} b.rtop b.r4, b.rbottom b.r4{margin: 0 1px;height: 2px}
</style>
</head>
<body>
<div class="RoundedCorner">
<b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
<br>无图片实现圆角框<br><br>
<b class="rbottom"><b class="r5"></b><b class="r5"></b><b class="r5"></b><b class="r5"></b></b>
</div>
</body>
</html>
<style type="text/css">
<!--
.btnStyle {
background-image:url(http://www.mpsoft.net.cn/images/bar_link.gif);
background-position:center center;
background-repeat:no-repeat;
width:87px;
height:33px;
}
-->
</style>在需要的地方引用此样式试试
<input id="Button1" type="button" value="button" class="btnStyle" style="border:solid 0px #ffffff; width:80px;" />