Home > Article > Web Front-end > How to Vertically Center `` Elements in a Horizontal `` List?
Vertically Aligning
When creating horizontal
To vertically align
<code class="css">li { height: 30px; line-height: 30px; }</code>
The above is the detailed content of How to Vertically Center `` Elements in a Horizontal `` List?. For more information, please follow other related articles on the PHP Chinese website!