定义input样式的又一种写法

.u_content input[type="text"], .u_content input[type="password"] {
    border1px solid #AAAAAA;
    color#555555;
    height20px;
    line-height20px;
}
 
这样直接查找[type="text"]或那什么的,属性。
posted @ 2012-10-19 10:28  林悠扬  阅读(144)  评论(0)    收藏  举报