我有这个结构:
<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>
我怎么能说:
让我只让名为“divToCenter”的类以“父亲”div 为中心。
谢谢
卢卡