[Solved] Three captions of same size inside of a div element


Here is what u needed.

.tabs label {
    padding: 10px 20px;
    border-left: 1px solid #ccc;
    border-right: 0;
    float: left;
}
label.selected {
    background: #ccc;
}
.tabs label:first-child {
    border-left: 0;
}

.tabs {
    margin: 10px;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 20px;
    overflow:hidden;
}
<div class="tabs">
 <label class="selected"> Label 1 </label>
 <label> Label 2 </label>
 <label> Label 3 </label>
</div>

2

solved Three captions of same size inside of a div element