ZVON > References > CSS2 Reference |
Intro / Search / ZVON |
Property: | vertical-align |
Inherited: | no |
Value: | baseline | sub | super | top | text-top | middle | bottom | text-bottom | <percentage> | <length> | inherit |
Initial: | baseline |
Applies to: | inline-level and 'table-cell' elements |
Media: | visual |
Percentages: | refer to the 'line-height' of the element itself |
<AAA> <BBB> <CCC>ccc1 ccc1 ccc1 ccc1 </CCC> <DDD>ddd</DDD> <EEE>eee</EEE> </BBB> <BBB> <CCC>ccc2 ccc2 ccc2 ccc2 </CCC> <FFF>fff</FFF> <GGG>ggg</GGG> </BBB> </AAA> |
View * {padding:1ex; border:solid} AAA {display: table; width:150px; border:none } BBB {display: table-row; border:none} BBB > * {display: table-cell} DDD {vertical-align:top} EEE {vertical-align:bottom} FFF {vertical-align:baseline} GGG {vertical-align:middle} |