I have a menu, when the window is smaller, I have text on multiple line. I search how to make the text align. But the text go under the first part instead of the beginning of my text/span. I cant use css flex because its not supported on IE9 and IE10.
<ul>
<li class="menu13">
<span class="number">1</span>
<span class="dot">. </span>
<span class="text">menu 1</span>
</li>
<li class="menu2">
<span class="number">2</span>
<span class="dot">. </span>
<span class="text">menu 2 is so long that I need to find a way to align multiple line. So I want no padding left on the second line. But I cant use css flex because it not working on IE9. I cant use width (like menu 5).</span>
</li>
https://jsfiddle.net/at24sxmx/
you can see the menu 3 on my fiddle, made with flex (I search an alternative)
instead of
. Then you don't need those extra spans too.
– Mojtaba Jun 15 '16 at 20:22