September 29, 201313 yr I'm really confused. I've never had this problem before. I'm making a site for a friend. As i design i preview as i go as everyone does, however this time the links are not working. I'm using the same code and never had this problem before. Now i'm really confused. All i want to do is preview them. /* GENERAL */ a {text-decoration:none;} a:link {color:#FFFFFF;} /* unvisited link */ a:visited {color:#FFFFFF;} /* visited link */ a:hover {color:#878C6D;} /* mouse over link */ a:active {color:#FFFFFF;} /* selected link */ /* HEADER */ #headerwrap {height:150px;} header {height:150px;} #logo {width:918px; height:146px; background-image:url(images/logo-trans.png); position:relative; top:45px;} #navwrap {height:50px; background-image:url(images/navbar.jpg);} #navi {height:50px;} #links {width:700px; height:50px; float:left;} #navi ul {list-style:none; margin-top:10px; margin-left:50px} #navi li {display:inline-block; width:70px; padding:5px; text-align:center; color:#edc5b5; margin:auto;} #social {height:50px; width:260px; float:right;} #social ul {list-style:none;} #social li {display:inline-block; width:20px;} <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>SITE NAME</title> <meta name="description" content="An interactive getting started guide for Brackets."> <link rel="stylesheet" href="reset.css"> <link rel="stylesheet" href="text.css"> <link rel="stylesheet" href="960_24_col.css"> <link rel="stylesheet" href="stylesheet.css"> <link href='http://fonts.googleapis.com/css?family=Roboto:400,300' rel='stylesheet' type='text/css'> </head> <body> <!-- HEADER SECTION --> <div id="headerwrap"><!--START OF HEADER WRAP--> <header class="container_24"> <div id="logo"></div> </header> </div><!--END OF HEADER WRAP--> <div id="navwrap"><!--START OF NAV WRAP--> <div id="navi" class="container_24"> <div id="links"> <ul> <li><a href="#">LINK</a></li> <li><a href="#">LINK</a></li> <li><a href="#">LINK</a></li> <li><a href="#">LINK</a></li> <li><a href="#">LINK</a></li> <li><a href="#">LINK</a></li> </ul> </div> <div id="social"> <ul> <li><a href="#"><img src="images/twitter.png" alt="twitter"></a></li> <li><a href="#"><img src="images/facebook.png" alt="facebook"></a></li> <li><a href="#"><img src="images/skype.png" alt="skype"></a></li> </ul> </div> </div> </div><!--END OF NAV WRAP--> <!-- END OF HEADER SECTION --> </body> </html>
September 29, 201313 yr Your logo div is sitting on top of the links you could change your headerwrap height to 175px
September 29, 201313 yr Author Ha, I can't believe i missed that. Thanks. Is there another way i can fix this, i don't really want to change the size of the header, I have the logo set to where i would like it. Can i not layer the divs differently?
Create an account or sign in to comment