CSS property: vertical-align
Values
Value |
Description |
|---|---|
length |
This value specifies the distance that the BlackBerry® Browser raises (positive value) or lowers (negative value) the baseline as an absolute value. The value can be an integer with the unit of measurement. For example, “10pt” or “6px”. Negative values are permitted. Possible units include pt, px, in, cm, pc, em, or ex. |
percentage |
This value specifies the distance as a percentage of the width of the containing element. Negative values are permitted. |
baseline |
This value specifies that the BlackBerry Browser determines the position of the top edge of the element. |
bottom |
This value specifies that the bottom of the element is aligned with the bottom of the lowest element on the line. |
middle |
This value specifies that the element is placed in the middle of the element. |
sub |
This value specifies that the baseline is aligned to the normal position for subscript text. |
super |
This value specifies that the baseline is aligned to the normal position for superscript text. |
text-bottom |
This value specifies that the bottom of the element is aligned with the bottom of the parent’s element. |
text-top |
This value specifies that the top of the element is aligned with the top of the parent’s element. |
top |
This value specifies that the top of the element is aligned with the tallest element on the line. |