STYLE SWITCHER

Equal height using simple CSS

background-image
<div class=”outer”>
<div class=”box-1″>
——
</div>
<div class=”box-2″>
——
</div>
</div>

<style>

.outer{
overflow:hidden;
}
.box-1{
float:left;
}
.box-1{
float:left;
border-left:red 1px solid;
padding-bottom:9999px;
margin-bottom:-9999px;
}
</style>

Recent Article

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Keep your skills sharp, get informed.

    Subscribe to our mailing list and get interesting stuff and updates to your email inbox