Question: How to vertically align the text in a floated div? For example: I have a dynamic content with fixed height. if the content is small or big it has to automatically vertically align.

Thanks

Answer: 
```
<div style="display: table-cell; vertical-align: middle;">I'm in the middle!</div>

```
Have you tried vertical-align: middle; ?