Home › Forums › CSS › [Solved] Navigation w/ Background Images – Alignment Problem › Re: [Solved] Navigation w/ Background Images – Alignment Problem
July 20, 2010 at 10:26 am
#80097
Participant
vertical-align sets how an image is displayed when part of text not as a background. If you were doing this:
Text text text text <img> text text text.
then you use vertical-align to tell the image how to set within the text. vertical-align: center would cause the image to sit so the text lies to the center of the image. Since you were using the image as a background there was no image to align to.