How-to articles, tricks, and solutions about ALIGNMENT
A common question is how to align text next to an image vertically? Read this snippet and learn to do it step by step, as well as try different examples.
On this page, we’ll demonstrate how to vertically align a text within an HTML <span> element. Use the CSS align-items, text-align, or vertical-align properties.
In this snippet, we will demonstrate some techniques of vertically aligning an image within an HTML <div> element with responsive height. Read and try examples.
On this page, you can find some methods allowing to vertically align elements in a <div>. Read and find the method depending on the specific situation.
In this snippet, we’ll show how you can align the text next to a large Font Awesome icon. For that, use the CSS vertical-align and the line-height properties.
On this page, you’ll learn how to vertically align inline (inline-block) elements. Try examples with many different methods (CSS padding, vertical-align, etc.).