body{ margin: 0; padding: 0; } a{ text-decoration: none; } .navbar{ width: 100%; height: 65px; position: fixed; background-color: lightgray; top: 0; } .navinit{ width: 980px; height: 100%; margin: auto; } .navbtnpart{ float: right; } .logo{ float: left; line-height: 65px; } .navbtn{ line-height: 65px; float: left; margin: 0 20px; } .navbtn a{ color: #000; } .navbtn a:hover{ color: #0091ea; } .mainbody{ width: 980px; margin: auto; } .searchbox{ margin-top: 95px; width: 430px; height: 50px; padding-left: 20px; box-shadow:0px 3px 5px #606060 ; border-radius: 25px; } .searchicon { width: 85px; height: 50px; color: #FFF; font-size: 18px; } .footer{ height: 100px; background-color: #3fa8ea; line-height: 100px; text-align: center; }