Div attaccato a footer

questo il div:

#sidebar-b {
float: right;
width: 180px;
margin: 0;
margin-left: ;
padding: 5px;
background-color: rgb(235, 235, 235);
text-align:center;

}

avrei bisogno che sia attaccato al footer, come faccio?