* { padding: 0px; margin: 0px; } .nav { width: 1680px; height: 100px; /*background-color: pink;*/ margin: 0 auto; border-bottom: 1px solid pink; } .logo { width: 84px; height: 98px; border:1px solid #ccc; } .logo { float: left; } .daohang { float: right; } .waibu { height: 55px; } .dhl { } .dhl li { width:120px; height: 30px; background: url(https://www.baidu.com/img/bd_logo1.png) no-repeat; list-style: none; float: left; text-align: center; } .dhl a { display: block; text-decoration: none; font:20px "微软雅黑"; line-height: 30px; }