Tidy default form element styles.

svn path=/trunk/netsurf/; revision=3801
This commit is contained in:
Michael Drake 2008-01-29 13:03:29 +00:00
parent 0241f21d4d
commit b74a1a173e

View File

@ -151,34 +151,31 @@ iframe[align=right] { float: right; }
form { display: block; }
form > * { margin-left: inherit; margin-right: inherit; }
input { background-color: #fff; color: #000; width: 10em;
height: 1.5em; text-align: left; border-width: 1px;
border-color: #000; border-style: solid; overflow: hidden;
padding: 0 2px; margin: 1px;}
input { background-color: #fff; color: #000; text-align: left;
width: 10em; height: 1.5em; overflow: hidden;
margin: 1px; border: 1px solid #000; padding: 0 2px; }
input[type=button], input[type=reset], input[type=submit], button {
background-color: #d9d9d9; color: #000; width: auto;
border-width: medium; border-color: #d9d9d9;
border-style: outset; height: auto; text-align: center;}
input[type=image] { background-color: transparent; color: #000; width: auto;
height: auto; border: 0; }
background-color: #d9d9d9; color: #000; text-align: center;
width: auto; height: auto;
border: medium outset #d9d9d9; padding: 0 0.5em; }
input[type=image] { background-color: transparent; color: #000;
width: auto; height: auto; border: none; }
input[type=checkbox], input[type=radio] { background-color: transparent;
padding: 0 0.1em; border: 0; width: 1em; height: 1em; }
width: 1em; height: 1em; border: none; padding: 0 0.1em; }
input[type=file] { background-color: #d9d9d9; color: #000;
border-width: medium; border-color: #d9d9d9;
border-style: inset; width: 10em; height: 1.5em;
font-style: italic; }
width: 10em; height: 1.5em; font-style: italic;
border: medium inset #d9d9d9; }
input[align=left] { float: left; }
input[align=right] { float: right; }
select { background-color: #d9d9d9; color: #000; width: 10em;
height: 1.5em; text-align: left; border-width: medium;
border-color: #d9d9d9; border-style: inset;
overflow: hidden; padding: 0 2px; margin: 1px; }
select:after { content: "\25bc"; border-left:4px ridge #d9d9d9; }
select { background-color: #d9d9d9; color: #000; text-align: left;
width: 10em; height: 1.5em; overflow: hidden;
margin: 1px; border: medium inset #d9d9d9; padding: 0 2px; }
select:after { content: "\25bc"; border-left: 4px ridge #d9d9d9; }
textarea { background-color: #fff; color: #000; text-align: left;
border-width: 1px; border-color: #000; border-style: solid;
overflow: scroll; padding: 0 2px; margin: 1px; }
overflow: scroll;
margin: 1px; border: 1px solid #000; padding: 0 2px; }
fieldset { display: block; border: thin solid #888; margin: 1.12em 0; }