Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Navigation w/ Background Images – Alignment Problem Re: [Solved] Navigation w/ Background Images – Alignment Problem

#80097
dcp3450
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.