I'm looking to get the yellow div containing 'vending machines | distributors etc' positioned next to the logo (right of the logo). Not sure why it's not working as it's floating left, but for some reason falls below the logo div. Can anybody tell me what mistake I am making?
body{
background-color:#fff;
padding:0px;
margin:0 auto;
}
#header-wrap{
width:100%;
height:100px;
margin: 0 auto;
background:#BABABA;
border-bottom: 1px solid #211c20;
border-top: 1px solid #211c20;
}
#header{
width:960px;
height:auto;
margin: 0 auto;
background:#72A1D9;
padding-top:15px;
}
.logo{
width:130px;
height:50px;
border:1px solid black;
padding-top:20px;
padding-left:50px;
font-size:24px;
}
.links{
background:#FFFD00;
float:left;
height:50px;
width:820px;
font-size:24px;
}
<div id="header-wrap">
<div id="header">
<div class="logo">LOGO</div>
<div class="links">VENDING MACHINES | DISTRIBUTORS | SUPPORT | CONTACT</div>
</div>
</div>