I am working with a div that is 100% of the parent divs height.
The div only contains a single line of text.
The div cannot have a fixed height.
So m
Try this one http://jsfiddle.net/Husamuddin/ByNa3/ it works fine with me, css
.table { width:100%; height:100%; position:absolute; display:table; } .cell { display:table-cell; vertical-align:middle; width:100%; height:100%: }
and the html
Hello, I'm in the middle