html, body { font-family: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, 'Lantinghei SC', 'Hiragino Sans GB', 'Microsoft YaHei', "΢���ź�", STHeiti, 'WenQuanYi Micro Hei', SimSun, sans-serif !important; } body, div, dl, dt, dd, ul, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td { margin: 0; padding: 0; font-size: 12px; } div { line-height: 25px; } body { /*position: relative;*/ background-color: #7CCD7C; } #hy_div { position: relative; width: 100%; height: 100%; background-color: #7CCD7C; /* div背景色 */ } .list { margin: 10px 10px; } #hy_div ul { /* 文本换行:强制一行显示 */ white-space: nowrap; width: 100%; /* margin: 0px;*/ } #hy_div li { /* margin 和 padding的顺序:上、右、下、左 */ /*margin: 0px 0px 0px 30px;*/ /* margin 左边框30像素*/ /*padding: 0px 0px 0px 5px;*/ /* 上、右、下、左 */ list-style-type: none; /* 列表项符号引用的图片 */ /*border: solid 1px Black;*/ /* 边缘样式 */ float: left; width: 97%; font-size: 13px; } .list li p { float: left; color: #fff; margin-left: 3%; } .list input { width: 58%; float: right; height: 16px; margin-top: 2.5px; line-height: 16px; color: rgba(47, 125, 211, 1); font-family: 宋体; border: 2px solid #fff; border-radius: 2px; }