I need to align these div
s so that the space between "content1" and the red div
equals the space between "content4" and the red div
. I don't mind changing the blue-div
's margin but this should work for any width.
I used to achieve this by making the width of the 4 blue div
s + their left and right margins = 100% but that doesn't seem to work well in this case.
I also tried adding another div
inside the red one that contained all the blue div
s and giving it margin: 0 auto
but that's not working either.
PS: if i'm not clear enough, please feel free to edit my question.