adobe的button样式

本主题由 Quasimo 创建于 2008-10-24 22:55:09

.button {
font-weight: bold;
font-family: inherit;
text-align: center;
color: #2b333c;
background: #fefefe url(form/element_bg.gif) repeat-x;
border: 1px solid;
border-color: #c4cccc #acb5b5 #6f7777 #acb5b5;
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
filterrogidXImageTransform.Microsoft.dropshadow(OffX=0, OffY=1, Color=#AAAAAA);
box-shadow: 0 1px 2px #AAA;
padding: .2em 1.5ex;
_padding: .2em 2ex;
_width/**/:1px;
_white-space: nowrap;
overflow: visible; /* fix button width for IE 5.5 to 7 */
cursor: pointer;
_cursor: hand;
}
.button:visited { color: #2b333c; }
.button { _margin-left: expression(this.previousSibling ? '1ex' : 'null'); }
*+.button { margin-left: 1ex; }
/* \*/
::root input.button {
font-size: inherit;
}
/* */
a.button {
white-space: nowrap;
text-decoration: none;
}

放心注册,GeeKaa不会虚耗你半点时间,你只会发现更多乐趣。 立即注册