Posts tagged as:

Results for vertical align

Contrary to what is often thought, the CSS property vertical-align does not align vertically an inline item within a block element. For example, a picture will not be centered vertically within its div container using the value ‘middle’.
Instead the CSS property vertical-align is used to vertically align an element within a table cell or inline elements in relation to other inline elements.

Below, I will use the vertical-align property and its different values to position an image in relation to a text (both inline elements) contained in a div container.

Continue to read >>

{ 1 comment }

1 comment

Stay updated with our RSS Feed

In this tutorial, we will see how to center align:

Continue to read >>

{ 14 comments }

14 comments

Stay updated with our RSS Feed