.nav{ width: 100%; height: 37px; margin-top: 66px; border-bottom: 1px solid #e6e6e6; } .p1{ color: #909090; width: 33.33333333%; text-align: center; display: block; float: left; line-height: 36px; font-size: 13.2px; background: white; } .nav .on{ color: #e51329; }