I am struggling to get 4 div sections to display side by side by using the following CSS for the parent div:
.parent {
display: inline;
}
<div class="parent">
<div class="child">
<ul>
<li>test1</li>
<li>test1</li>
<li>test1</li>
</ul>
</div>
<div class="child">
<ul>
<li>test1</li>
<li>test1</li>
<li>test1</li>
</ul>
</div>
<div class="child">
<ul>
<li>test1</li>
<li>test1</li>
<li>test1</li>
</ul>
</div>
Despite my efforts, the 4 stacked divs (each with child elements) are not displaying side by side:
test1
test1
test1
test1
test1
test1
test1
test1
test1
My goal is to have them displayed like this - test1 test1 test1