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: 
Chris Coyier wrote an excellent tutorial on just this: <http://css-tricks.com/vertically-center-multi-lined-text/>

I've used it myself, and it works perfectly.
Have you tried vertical-align: middle; ?