I want that divs, which are in footer div "apacia" appear not in left, but in the center of the page, tried align: center; or text-align: center; in parent div's but didin't helped.
margin: 10px <font color='"#FF0000"'>0</font> 0;
margin: 10px <font color='"#FF0000"'>auto</font> 0;
I should have explained that if you want to center a block level element (like a div etc.) you need to give it a width (which you had) and then set its left and right margins to "auto". So what you've ended up with is:
margin: 10px auto 0 auto
(top, right, bottom, left)
Those autos are for right and left, but the last one (for left) doesn't need to be written, because if left out, it's assumed to be the same as the right margin.
I just see the post but Ralph provided a correct code.
This topic is now closed. New replies are no longer allowed.