У меня такая структура:
<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 "отец".
Спасибо
Лука