|
藍森林 http://www.lslnet.com 2006年8月25日 8:28
能否單獨定義input 中text的樣式?
能否單獨定義input 中text的樣式?
比如
text{
BORDER-RIGHT: #000000 3px solid; BORDER-LEFT: #000000 3px solid; BORDER-BOTTOM: #000000 3px solid
} |
[html]
<style>
input {yaguo:expression(this.style.backgroundColor=this.type=="text"?"#000000":"")}
</style>
<input>
<input type="button">
[/html] |
|