2
I have an unordered list that needs to stay the same format, because it is a side menu mounted dynamically. Something like this:
<ul>
<li>
<a> Link 1 <span> Algum texto </span> </a>
</li>
<li>
<a> Link 2 </a>
</li>
<li>
<a> Link 3 </a>
</li>
</ul>
That one <span>
which lies within the <li>
should remain vertically aligned, even when the text of the link is too large and needs to occupy two lines or more. More or less like this:
So, so far I have not succeeded. I can verticalize the <span>
in certain situations, but not in all.
Could someone give me a hand?
What content does this span receive?
– Diego Vieira