Archived
1
0
Fork 0

css: file and select formatting

This commit is contained in:
Henrik Hautakoski 2010-10-31 23:00:50 +01:00
parent 5276697a50
commit 97f081ac0e

View file

@ -1,5 +1,5 @@
body,input,textarea { font: normal 12px Verdana, Sans-serif; }
body,input,select,option,textarea { font: normal 12px Verdana, Sans-serif; }
body {
background: url('../img/bg.png') repeat-x;
@ -63,19 +63,39 @@ input[type="submit"]:hover {
cursor: pointer;
}
input[type="text"],
input[type="password"],
select,
input[type="file"],
input[type="text"],
input[type="password"],
textarea {
color: #555;
width: 200px;
background-image: url('../img/elements/textbox.png');
background-repeat: repeat-x;
background-position: top;
border: 1px solid #ccc;
margin: .2em;
padding: 5px 3px;
}
select,
input[type="text"],
input[type="password"],
textarea {
border: 1px solid #ccc;
}
select {
width: 208px;
background: #f1f1f1;
}
input[type="text"],
input[type="password"],
textarea {
width: 200px;
background-image: url('../img/elements/textbox.png');
background-repeat: repeat-x;
background-position: top;
}
select:focus,
input[type="file"]:focus,
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
@ -89,6 +109,10 @@ textarea {
overflow: auto;
}
input[type="file"] {
padding: 5px;
}
hr {
border-color: #bcbcbc;
border-style: solid;