any idea why the text next to the Facebook buttons is split into 2 lines? Would expect only one line since the width of the red DIV allows it. Thanks
HTML
<div id="footer" class="top">
<div class="wrapper">
<div class="left">
<div class="fb-like" data-href="https://www.google.be" data-layout="button" data-action="like" data-show-faces="false" data-share="true"></div>
<!-- End fblike --></div>
<div class="right">© 2013 ddss.com. Tous droits réservés.</div>
</div>
</div>
CSS
.wrapper {
position: relative;
display: block;
margin-right: auto;
margin-left: auto;
width: 1000px;
overflow: hidden;
}
#footer {
position: relative;
left: 0;
bottom: 0;
height: 26px;
width: 100%;
background: #fff;
border-top: 5px;
border-top-style: solid;
border-top-width: thin;
border-top-color: #124191;
padding-top: 8px;
}
#footer .left {
float: left;
padding-left: 3px;
color: #333;
font-size: 12px;
background: red;
width:60%;
}
#footer .right {
float: right;
padding-right: 3px;
text-align: right;
font-weight: 600;
font-size: 11px;
background: green;
width:37%;
}
Try to add data-width 100% to the fb-like class, like this:
<div class="fb-like" data-width="100%" data-href="https://www.google.be" data-layout="button" data-action="like" data-show-faces="false" data-share="true"></div>