inline-block justify

by Alex

HTML

<div class="t">
    <div class="i">text #1</div>
    <div class="i">text #2</div>
</div>

CSS

.t {
    background: #eee;
    font-size: 0;
    line-height: 0;
    text-align: justify;
    padding: 10px;
}
.t:after {
    content: '';
    width: 100%;
    display: inline-block;
}
.i {
    background: #ddd;
    font-size: 14px;
    line-height: normal;
    display: inline-block;
    padding: 10px;
}