私はこの構造を持っています:
<div class="father">
This string is left-aligned
<div class="divToCenter" style="display:inline-block;">
//contains other divs.I used inline block for making this div as large as
//content ATTENTION: its width is not fixed!
</div>
</div>
どのように私は言うことができます:
「father」divを中心とする「divToCenter」という名前のクラスのみを作成します。
ありがとう
ルカ