Im trying to vertically align my links to the middle in a list
I cant use table-cell display or line-height as it needs to work in IE6 and line-height wont work as some options span 2 lines with a
Any Ideas?
Many thanks
Dave
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Unfortunately I don’t have IE6 access right now but try this:
This sets the
<li />line height to match the height. Then reset the<a />‘s line height.Example: http://jsfiddle.net/lnrb0b/TwFxN/2/