Reputation: 1046
I am trying to place to rows next to each other. The rows listen and are placed diplay:inline-block;
but the cell of the second row is not placed properly like you can see in this jsfiddle.
This what I tried:
.row{
width:50px;
height:auto;
display:inline-block;
white-space: nowrap;
position:relative;
top:0px;
}
but this is not working. Can somebody help me solving this problem?
Upvotes: 0
Views: 54
Reputation: 25855
As pointed out by Daniel,
Use vertical-align on the row for default goes to the baseline http://jsfiddle.net/kznyc780/2
.row{
/* ... */
vertical-align:top;
/* ... */
}
Upvotes: 3