<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>多行文字垂直居中</title> <style> .box{ display:table-cell; width:100px; height:100px; border:4px solid #beceeb; color:#069; vertical-align:middle; /* 解决IE6 问题 */ _font-size:100px; } .box a{ display:inline-block; vertical-align:middle; font-size:12px; } </style> </head> <body>
<div class="box">
<a href="#">2013年01月曾答应博客园网站管理员会在博客园发</a>
</div>
</body> </html>