藍森林首頁 | 返回主頁 | 本站地圖 | 站內搜索 | 聯繫信箱 |
 您目前的位置:首頁 > 自由軟件 > 技術交流 > 應用編程


    

藍森林 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]




Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : webmaster@lslnet.com