Vertically center text in a floated div

I am struggling with a solution to the following problem. I am trying to vertically center a single line of text within a container div. The container div is floated to the left. The container div is of an unknown or unspecified height.


If you know the height of the div then just feed the div a line height equal to the height if the div. If you do not, then google “css vertically ccenter unknown height”.

Thanks. I will try to google that phrase.