Vertically Align Links In Lists
I've got the following HTML markup;
Solution 1:
Use line-height in your <a> (css)
To get your link vertical aligned, you need to set it as the same height as the <li>.
Your <li> height is 150px. So your line-height should be 150px to.
Like in the DEMO and code below here.
Css:
.blockmenu li a {
....
line-height:150px; /* The height of your li */
}
Post a Comment for "Vertically Align Links In Lists"