In css, line-height: and font-size: and height are the three formulas to center the font.

  html5, question

Is a word of 80px, in a row of how high is the line, only in a 200px high block exactly in the middle?

I estimate that there must be a formula for this thing, but the font size and line height are not directly visible. Of course, we can try it by trial, but we are not pursuers, are we? Please give us some advice from experienced people.

Tried text-align:middle; But no

Navigation item
 {
 
 float: left;
 background-color:#bfbfbf;
 width: 70px  ;   height:25px   ;
 margin:1px 0px 1px 1px;
 padding:0px;
 text-align:center;
 
 Font: chinese regular script;
 font-size:11px;
 color:gray;
 vertical-align: middle;
 
 
 }

图片描述

line-height:200px;