I'm trying to get two lists to display next to each other like this:
li 1.1 li 2.1
li 1.2 li 2.2
li 1.3 li 2.3
(where the first number is the list number and the second number is the item # of the list)
I have tried different methods including:
- setting the list displays to block, inline, or inline-block
- changing div to span (because div is a block element and span is inline)
- changing the left/right margins + padding so the lists won't overlap each other (works for no overlap, but the lists need to start at the same y position/at the top of the screen, so it doesn't really help that much)
most of the things I tried have been responses to other stack overflow questions that were similar, but not the same
current code (best viewed full page):
hr {border: 1px solid rgb(0,255,0);}
.l {margin-left:0px; width:18%;}
.m {margin-left:20%; margin-right:30%;}
.vr1 {transform: rotate(90deg); width:100%; margin-left:-30%;}
.forms {margin-left: 0px; width:20%;}
.steps {margin-left: 20%; margin-right:30%; width:40%;}
<span>
<ul style="list-style-type:none;padding-left:0px;" class="forms l">
<li>Standard Form:<br>y = ax² + bx + c<hr></li>
<li>Vertex Form:<br>y = a(x-h)² + k<hr></li>
<li>Intercept Form:<br>y = a(x - p)(x - q)<hr></li>
<li>Slope Intercept Form:<br>y = mx + b<hr></li>
<li>Point Slope Form:<br>y - y₁ = m(x - x₁)<hr></li>
</ul>
<hr class="vr1">
<ol class="steps m">
<li>re-write in standard form if necessary; factor any common terms; identify a, b, and c</li> <hr>
<li>multiply a and c</li> <hr>
<li>find the factors of ac<br>(think: what are two numbers that multiply to ac?)</li> <hr>
<li>if ac is positive: pick factors that add up to b<br>if ac is negative: pick factors that subtract to b</li> <hr>
<li>replace the middle term (b) with the factors from step 3 + 4</li> <hr>
<li>group the equation into 2 seperate parts</li> <hr>
<li>find the common factors in each group and factor them out (of the parenthesis) to the front of the groups</li> <hr>
<li>if step 6 has been done correctly, then the first and second terms have a common factor</li> <hr>
<li>check your answer by multiplying the first factors together using the FOIL method (First Outside Inside Last)</li> <hr>
</ol>
</span>