/* 初始化内外边距 */ ul,a,span,div,ol,body{ margin: 0px; padding: 0px; text-decoration: none; } a:hover{ color: #ffffff; background-color: #ffffff; } ul li{ list-style: none; } .headtitle{ margin: 0px; padding: 0px; height: 40px; width: 100%; background-color: white; } a[href="#"]{ margin-left: 10px; z-index: 30; height: 30px; line-height: 40px; font-size: 12px; color: #333333; } #navl{ float: left; } #navr{ float: right; //margin-right: 15px; }