body{ margin: 0px; padding: 0px; } .container{ margin: 0 auto; font-family: "微软雅黑"; width: 1200px; /*测试用属性*/ /*float: right;*/ /*height: 700px;*/ /*background-color: yellow;*/ } .text-overflow { word-break:keep-all;/* 不换行 */ white-space:nowrap;/* 不换行 */ overflow:hidden;/* 内容超出宽度时隐藏超出部分的内容 */ text-overflow:ellipsis;/* 当对象内文本溢出时显示省略标记(...) ;需与overflow:hidden;一起使用。*/ } .section-img-text{ background-color: #000000; filter:alpha(opacity=60); -moz-opacity:0.60; -khtml-opacity: 0.60; opacity: 0.60; position: absolute; bottom: 0px; background-color: rgba(0, 0, 0, 0.6); } .effect{ overflow:hidden; } a{ text-decoration: none; } .cursor_hover:hover{ color: #2b7e0d; cursor: pointer; } /*头部路径显示*/ .header{ width: 1200px; height: 64px; font-size: 14px; color: #666666; line-height: 64px; float: left; /*测试用数据*/ /*background-color: grey;*/ } .header a:link{ color:#666; } .header a:visited{ color:#666; } .item{ float: left; } /*中间左右两部分*/ .body{ width: 1200px; float: left; /*测试用数据*/ /*height: 1000px;*/ /*background-color: red;*/ } .section_left_nav{ width: 222px; height: 661px; float: left; } .section_left_nav ul{ margin: 0px; padding: 0px; list-style-type: none; } .section_left_nav ul li{ padding-left: 16px; width: 206px; height: 58px; line-height: 58px; border-bottom: 1px solid #e5e5e5; } .title_level_one{ font-size: 20px; color: #ffffff; background-color: #2b7e0d; } .title_level_two{ font-size: 16px; color: #323232; } .title_select{ color: #2b7e0d; } .section_right_title{ width: 900px; float: right; } .section_right_title ul{ margin: 0px; padding: 0px; list-style-type: none; } .section_right_title ul li{ width: 893px; height: 222px; float: left; margin-top: 20px; } .section_right_title ul>:first-child{ margin-top:0; } .title_news{ position: relative; } .video_img{ width: 185px; height: 219px; background:url("/wwwdsggfwcom/statics/images/default/dsdr-bg.jpg"); float: left; } .video_img img{ width: 169px; height: 201px; margin: 9px 8px; } .video_title{ float: right; height: 222px; width: 687px; } .video_title h3{ color: #323232; } .video_title a{ color: #2c880a; } .title_news p{ color: #666666; margin-top:15px; line-height:27px; } /*下方页码显示*/ .page{ width: 901px; height: 125px; float: right; line-height: 125px; /*测试用数据*/ /*background-color: blue;*/ } .page ul{ margin: 0px; padding: 0px; height: 125px; float: right; } .page ul a{ margin-top: 42px; margin-left: 5px; margin-right: 5px; width: 35px; height: 35px; list-style-type: none; float: left; background-color: #e5e5e5; text-align: center; line-height: 35px; color: #666666; border-radius: 3px; } .page ul .last_page{ width: 80px; height: 35px; } .page ul .next_page{ width: 80px; height: 35px; } .page_total{ margin-right: 10px; font-size: 16px; color: #666666; float: right; background-color: #fff !important; width:55px !important; } .page ul .page_num_select{ margin-top: 42px; margin-left: 5px; margin-right: 5px; width: 35px; height: 35px; list-style-type: none; float: left; background-color: #e5e5e5; text-align: center; line-height: 35px; color: #666666; border-radius: 3px; color: #ffffff; background-color: #307004; } .page_hover:hover{ color: #ffffff; background-color: #307004; cursor: pointer; }