HTML and CSS Reference
In-Depth Information
bottom
Align the bottom of the element with the bottom of the lowest ele-
ment in the current line.
In addition, a percentage value indicates a position relative to the cur-
rent baseline so that a position of
50%
puts the element halfway up the
line height above the baseline. A position value of
-100%
puts the ele-
ment an entire line height below the baseline of the current line.
All the popular browsers agree on where to place images relative to a
line of text for
baseline
(default and the same as no vertical-align spe-
cification),
middle
(but not center),
super
(but not
sub
),
text-top, text-
bottom, top
(same as
text-top
; but not
bottom
), and for both plus and
minus percentage offset values.
Figure 8-10
shows you how Internet
Explorer treats the various
vertical-align
values.