あなたの質問を正しく理解したかどうかはわかりませんが、最後の行 (2 つの div) 内のテキストを左に揃え、他のすべてのテキストを中央に配置する必要があるようです:
そのためにクラスを適用できます:
.alignLeft {
text-align: left;
}
そして、そのクラスを最後の 2 つの div に与えます。
これがフィドルの例です!
編集:
あなたの質問は言い換える必要があります。それはあなたの目標が何であるかについて間違った結論につながっていますが、これはあなたが探しているものですか:
このフィドルの例を見てください!
関連する CSS の更新:
.thumb {
float: left; // align divs to the left of each other
text-align: center; // center text inside the div
position: relative;
border: 1px solid #D9D9D9; // view the blocks, not needed
margin: 1px; // get some distance between blocks, not needed
font-size: 10px; // small text to view that's centered, not needed
}
ヒント:行ごとに 3 ブロックになるまで水平方向に縮小します。したがって、最後の行に I am
というテキストを含む 2 つの div があります。最後列に一人。