Div+css首页

WEB标准技术学习-一个按钮效果

一个按钮效果
时间: 2007-8-6 14:36:58 浏览:2107 

演示地址:

/csssite/uploadfile/200806/14/3123589540.jpg); border: none; width: 123px; height: 29px; display: block; *display:inline;float:left; margin-right: 20px;}
.btna a:hover{ background: url(/csssite/uploadfile/200806/14/9F23589354.jpg) 0 29px;}
.btnb a{ background: url(/csssite/uploadfile/200806/14/5D23589211.jpg);}
.btnb a:hover{ background: url(/csssite/uploadfile/200806/14/5D23589211.jpg) 0 29px;}
.btnx{ background:none; border: none; width: 123px; height: 29px; cursor: pointer;}
/*]]>*/
</style>
</head>
<body>
<div>
<span class="btna"><a href=""><input type="submit" class="btnx" value="" /></a></span>
<span class="btna btnb"><a href=""><input type="submit" class="btnx" value="" /></a></span>
</div>
</body>
</html>

Div之家