Hi all,
I have a group of divs that have the same height but different width and I'd like to position them at the center of another div. It has to look like this
these are the css styles used. How should I change these style to get the layout I want? I want the divs-items be placed in the center of div-outer, one next to another, like in the image.
I have a group of divs that have the same height but different width and I'd like to position them at the center of another div. It has to look like this
these are the css styles used. How should I change these style to get the layout I want? I want the divs-items be placed in the center of div-outer, one next to another, like in the image.
Code:
div-outer{ width:800px; height:100px; margin:0; padding:0; text-align:center; } divs-item{ height:100px; margin:0; padding:0; }
Comment