9951 explained code solutions for 126 technologies


htmlVertically align elements in HTML


<input style="vertical-align: middle;" />
<button style="vertical-align: middle;" />ctrl + c
style

set inline CSS styles of current element

vertical-align

specify vertical align rule

middle

will align elements vertically