CSS文字垂直居中代碼如下:
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head>
<title>單行文字實現垂直居中</title><metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/><styletype="text/css">