我有这样的结构:
<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”的类。
谢谢
卢卡
https://stackoverflow.com/questions/6070321
复制相似问题