I currently have 4 nested divs. My goal is to ensure that the margins between each div
are equal, maintaining the same distance from the left edge of the parent div
to the first nested div
, between each pair of nested div
, and from the last nested div
to the right edge of the parent.
This is how it looks at the moment:
Is there a CSS property or technique that can automatically achieve this margin equality, or must I set the margins manually?
Thank you for your help!