Method 1

Hello From Shivasoft,
This is method 1 to align the contents.

1. Specify the parent container as position:relative or position:absolute.
2. Specify a fixed height on the child container.
3. Set position:absolute and top:50% on the child container to move the top down to the middle of the parent.
4. Set margin-top:-h where h is half the height of the child container to offset the item up.

Method 2

I am Middle aligned. Note : This will work only for the single line.