怎样用css改变按钮背景颜色的同时使按钮里的字体颜色也跟着改变?
如下:<style type="text/css"> input.ys{ border:1 solid #FFCC00;color: #FFCCFF;font-size: 9pt; font-style: normal; font-variant: normal; font-weight: normal; height: 18px; line-height: normal;background-color: #9900FF;}即用color设置字体和用background-color设置背景
设置按钮的background-color与字体的color,希望能帮助你