Created
March 7, 2012 21:49
-
-
Save dave547/1996461 to your computer and use it in GitHub Desktop.
CSS: Form Field Styles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ----------- My Form ----------- */ | |
.myform{ | |
/*position:absolute; left:560px; top:60px;*/ | |
margin:0 auto; | |
width:360px; | |
padding:14px; | |
} | |
/* ----------- stylized ----------- */ | |
#stylized{ | |
/*border:solid 2px #b7ddf2;*/ | |
/*background:#ebf4fb;*/ | |
} | |
#stylized h1 { | |
font-size:14px; | |
font-weight:bold; | |
margin-bottom:8px; | |
} | |
#stylized p{ | |
font-size:11px; | |
color:#fff; | |
margin-bottom:20px; | |
border-bottom:solid 1px #b7ddf2; | |
padding-bottom:10px; | |
} | |
#stylized label{ | |
display:block; | |
font-weight:bold; | |
text-align:right; | |
width:110px; | |
float:left; | |
color:#fff; | |
font-size: 10pt; | |
} | |
#termsCond { | |
margin:0 0 0 60px; | |
width:300px; | |
float:left; | |
color:#fff; | |
font-size: 10pt; | |
} | |
#termsCond a { color: blue; text-decoration: none;} | |
#termsCond a:hover { text-decoration: underline;} | |
#stylized .small{ | |
color:#fff; | |
display:block; | |
font-size:11px; | |
font-weight:normal; | |
text-align:right; | |
width:110px; | |
} | |
#stylized input { | |
float:left; | |
font-size:12px; | |
padding:4px 2px; | |
border:solid 1px #000; | |
width:150px; | |
margin:2px 0 15px 10px; | |
} | |
#stylized select{ | |
float:left; | |
font-size:12px; | |
padding:4px 2px; | |
border:solid 1px #000; | |
width:150px; | |
margin:2px 0 15px 10px; | |
} | |
#stylized button{ | |
cursor: pointer; | |
clear:both; | |
margin: 10px 0px 0px 40px; | |
width:229px; | |
height:50px; | |
/*background:url(images/button.png) no-repeat;*/ | |
/*background-image:url('/images/offers/1/button.png') no-repeat;*/ | |
background:url('images/learn_more.png') no-repeat; | |
text-align:center; | |
line-height:31px; | |
color:#14315d; | |
font-size:11px; | |
font-weight:bold; | |
border: 0px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment