How To Vertically Align Blocks Using CSS

Outer Block – set the line-height: {some value}
Inner Block – set the line-height: normal
, along with display: inline-block; vertical-align: middle;
Also works if you set OUTER height instead of the line-height (or together with the same value as the height).
Leave Your Comment
All fields marked with "*" are required.