Make 2 links same height in columns?

Posted by brother on Stack Overflow See other posts from Stack Overflow or by brother
Published on 2012-06-21T09:11:07Z Indexed on 2012/06/21 9:16 UTC
Read the original article Hit count: 127

Filed under:
|

I have a setup where i have a unordered list on a page with x <li><a href="#">Link text</a></li>.

They are via CSS set to 50% width each, so that i have 2 items on each line. My problem is that 2 links on one line, can vary in height as they have different link text. My question is; how can i, via jQuery, set the same height for each (the a is styles with a border bottom, so it would look best if they alined) on the same line? But not all in the sections should have the same height, only on a "pr line" basis.

Hope it makes sence :)

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about css