Align text to bottom of div using CSS Example

In CSS, Tips and Tricks by May 25th, 2012

917 Views Be the first to Comment

Here is a neat trick to align the text or the content of a div to the bottom portion of the div using CSS.

Example to Align text to bottom of div using CSS

For the sake of example, let us assume that we have a div with ID “my_div”. This div contains another div with ID “my_div_content”. This div actually contains our text that we want to align to bottom of “my_div”. So let’s see how this can be achieved.

Example: Align Text to bottom of Div using CSS

 That’s it!

Do you know of any other ways to align text to bottom of div using CSS? Feel free to suggest by commenting below.

Share your thoughts, comment below now!

*

*