Saturday, September 29, 2012

use CSS3 selectors to differentiate styles for different input types

.div01 {
   width: 770px;
   height: 117px;
   padding-top: 108px;
}
.div01 input[type=text] {
   width: 206px;
   border: none;
   height: 34px;
   line-height: 34px;
   color: #000000;
   font-size: 24px;
   background-color: bisque;
}
.div01 input[type=password] {
   float: right;
   width: 206px;
   border: none;
   height: 22px;
   line-height: 22px;
   color: #000000;
   background-color: bisque;
}

No comments:

Post a Comment