Vertical-align is a pretty useful property at times, but could easily be assumed to align any element centrally, but there’s a catch. You wont be able to align just any element with this property – it will only work on inline elements.
Web development blog with insights on Kentico, HTML, CSS and JavaScript from Rich Edwards @redigitaluk
Vertical-align is a pretty useful property at times, but could easily be assumed to align any element centrally, but there’s a catch. You wont be able to align just any element with this property – it will only work on inline elements.