/ Published in: CSS
Expand |
Embed | Plain Text
/*online form with span*/ .onlineForm label {width: 240px;margin: 0 20px 0 0;} .onlineForm .text {width: 240px;height: 25px;margin: 0 20px 10px 0;} .onlineForm .text input {width:225px;} .onlineForm .textarea {width: 500px;height: 115px;} .onlineForm .textarea textarea {width:487px;} /*online form with no spans*/ .onlineForm label {width: 240px;margin: 0 20px 0 0;} .onlineForm input {width: 240px;height: 25px;margin: 0 20px 10px 0;} .onlineForm textarea {width: 500px;height: 115px;} .onlineForm .submit{margin:0;padding:0;} /*checkbox*/ .checkbox{} .checkbox label{} .checkbox input{} .submit{margin:0;padding:0;} /*fancy select*/ .select{position:relative;} .select span{width:287px;height:39px;display:block;line-height:39px;padding:0 20px 0 10px;overflow:hidden;cursor:default;} .select ul {position:absolute;left:0;border-left:1px solid #C2C9D5;border-right:1px solid #C2C9D5;border-bottom:1px solid #C2C9D5;background:#FFFFFF;top:39px;left:2px;width:98%;display:none;height:291px;overflow-x:hidden;overflow-y:scroll;} .select ul li{border-bottom:1px solid #C2C9D5;width:100%;} .select ul a{width:100%;float:left;padding:9px 0 9px 20px;width:94%;} .select ul a:hover{background:#E9EFFB;}
Comments
Subscribe to comments
You need to login to post a comment.

as with too many of the snipplr.com snippets... items like this would be great - if there were a quick-n-diry (example) link...
cool, neat, tidy, and very clean/slick css indeedy, but an example would save 4 min. of work... of copy/paste, modify code (ie. inserting .onlineForm class into form elements), view... (vs. the obvious - click link to maybe a standard 'form/html elements' page...)