designing a Website. One is how to center the content exactly horizontally and vertically. There are many techniques and some new properties of css3 available by which you can center the content. Following I have gave some example how to center the content with css. And the best part is these techniques will work in case of dynamic height and width .