Ashamed to say, as if he had just used vertical-align:middle such a property, but recently began to explore her to find her really unfathomable, I can only beyond ah ...
I. Vertical-align BASIC INTRODUCTION
Vertical-align Gu Mingsi, people who understand English will know the meaning of vertical alignment, and our common vertical-align is used for vertical alignment, the basic format:
1 input {2 vertical-align: Middle; 3 }
But at the same time I also want to notice that this attribute has her application scope:
1. Can only be applied to inline elements and replacement elements, like and form input elements
2.vertical-align property cannot inherit
Two. Value of Vertical-align
Property |
Describe |
Baseline |
Requires that the baseline of an element be aligned with the baseline of its parent element |
Sub |
|
Super |
|
Text-top |
|
Middle |
|
Bottom |
|
Text-bottom |
|
Percentage |
|
Length |
|
Inherit |
|
Get to know Vertical-align