I am working with an unordered list on a webpage that contains
x <li><a href="#">Link text</a></li>
items.
These items are styled to have 50% width each using CSS, resulting in 2 items per line. However, since the link texts can vary in height, I am facing an issue where the links on the same line may have different heights. My question is: how can I use jQuery to set the same height for all links (styled with a border bottom) on the same line? It is important to note that not all links in the sections should have the same height, only those on a "per line" basis.
I hope this explanation is clear :)