vertical-align
Vertical alignment property
Determines how items are vertically aligned in a regular block, aka, flow container.
Field | Value |
---|---|
Cascades | No |
Initial value | bottom |
Applies To | Regular flow items |
Values
Accepts any expression or value that resolves to an auto
or sub
, super
,
top
, middle
or bottom
keyword.





Examples
span {
vertical-align: super;
}
span {
vertical-align: top;
}
span {
vertical-align: middle;
}
span {
vertical-align: bottom;
}
span {
vertical-align: sub;
}