css设置文字与图像垂直居中
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head> <title>文字与图像垂直居中</title> <meta http-equiv="content-type" content="text/html;charset=gb2312"> <style type="text/css"> #title * { vertical-align: middle; } </style></head><body> <div id="title"> <img src="http://www.baidu.com/img/baidu_sylogo1.gif"> <a href="#">测试文字与图像垂直居中</a> </div></body></html>?