Positioning image alt text

Solution 1:

img {
    width: 100px;
    height: 50px;
    line-height: 50px;
    text-align: center;
}

Sets the alt vertical and horizontal align to middle.

Solution 2:

The line-height property on a parent element will affect the presentation of the alt attribute text.