- html {
- background-color: #fff;
- }
- body {
- margin-left: auto;
- margin-right:auto;
- margin-top:0px;
- margin-bottom:0px;
- max-width: 1000px;
- min-height:1000px;
- font-family: Verdana,verdana,"Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 14px;
- line-height: 1.5em;
- color: #333333;
- background-color: #ffffff;
- -webkit-box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
- -moz-box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
- box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
- }
- a
- {
- color: #00B;
- font-family: Verdana,verdana;
- font-size:14px;
- height: 40px;
- line-height: 40px;
- margin-left: 6px;
- margin-right: 4px;
- }
- a:hover
- {
- color: #C00;
- }
- div .category
- {
- clear: both;
- margin-left:auto;
- margin-right:auto;
- width: 100%;
- }
- div .title
- {
- clear: both;
- color: #000;
- font-size:11px;
- display:block;
- font-weight:bolder;
- margin-top:4px;
- padding-left: 12px;
- background-color:#FFDEAD;
- }
- div .item
- {
- float: left;
- width: 200px;
- }
- div img
- {
- width: 20px;
- height: 20px;
- margin: 0px;
- padding:0px;
- border: 0px;
- background-color:white;
- margin-left: 10px;
- }
- #searcharea
- {
- clear: both;
- width: 100%;
- height: 80px;
- padding : 0px;
- }
- .searchareawraper
- {
- position:relative;
- clear: both;
- height: 32px;
- width: 60%;
- margin-left: auto;
- margin-right: auto;
- }
- .searchBoxTextInput
- {
- border:1px solid #a0b9a6;
- color:#333;
- outline:medium none;
- font:17px arial,sans-serif;
- height: 32px;
- line-height:28px;
- width: 76%;
- text-indent:6px;
- float: left;
- }
- .searchBoxButtonInput
- {
- border: 0px;
- background-color:#79a027;
- color: white;
- height: 32px;
- font-weight: bold;
- font-family: "Lucida Grande", Verdana;
- cursor:pointer;
- border-radius:4px;
- width: 96px;
- float: left;
- margin-left: 8px;
- padding: 2px;
- }
- //该片段来自于http://www.codesnippet.cn/detail/310520133716.html
来源: http://www.codesnippet.cn/detail/310520133716.html