Instead of the class=“info” part being extended automatically, it stays constant and just lets the content (blah blah…) to overflow into copyright bar area.
What is the problem?
HTML
<body>
<footer class="main">
<div class="info">
<div class="info-left">
<p> Blah blah blah Blah blah blah Blah blah blah Blah blah blah Blah blah blah Blah blah blah Blah blah blah Blah blah blah Blah blah blah Blah blah blah Blah blah blah Blah blah blah </p>
</div>
<div class="info-right">
info right
</div>
</div>
<div class="copyright-bar">
© 2014. ALL RIGHTS RESERVED.
</div>
</footer>
</body>
CSS
body {
width: 100%;
color: #FFF;
font-family: 'Roboto';
font-weight: 100;
text-align: center;
}
p {
font-size: 18px;
}
footer.main {
margin-top: 350px;
width: 100%;
position: relative;
background-color: #212121;
font-size: 100px;
}
.copyright-bar {
padding: 15px;
background-color: #191919;
font-size: 15px;
font-weight: 100;
}
.info {
padding: 5%;
display: block;
}
.info-right {
float: right;
font-size: 50px;
}
.info-left {
float: left;
max-width: 450px;
width: 60%;
font-size: 30px;
text-align: left;
}