CSSWhen you want to have the content of a div centered vertically using CSS, it isn’t as easy as using tables. Below are few solutions that are available currently to vertically center a div:

Are you aware of more ways to solve this problem? Do let us know by commenting.