i´ve got elements inside a containing div with a class.
i could use text-align: center on the div and that will center all elements.
how could i position the elements with exact pixels from the left?
(i dont want to use css on the element but on the containing div)
You can use
padding-lefton the container div. However this will augment the width of the div itself, since you’re adding left padding to it. To solve this problem you should usemargin-lefton the inner divs, for example: