I have two divs that are not nested, one below the other. They are both inside the same parent div, and this parent div is repeated again. So essentially:
<div id='parent_div_1'> <div class ='child_div_1'></div> <div class ='child_div_2'></div> </div> <div id='parent_div_2'> <div class ='child_div_1'></div> <div class ='child_div_2'></div> </div> <div id='parent_div_3'> <div class ='child_div_1'></div> <div class ='child_div_2'></div> </div>
I want each pair of child_div_1 and child_div_2 be next to each other. How can i do this?
html css layout
Justin Meltzer Mar 22 2018-11-11T00: 00Z
source share