DIV中IMG垂直居中问题
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> New Document </title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<style>
.ImageViewer{width:120px;height:120px;overflow:hidden;border:1px solid red;text-align:center;line-height:120px;}
.ImageViewer img{border:1px solid blue;}
</style>
</head>
<body>
<div class="ImageViewer"><img src="1.jpg" border="0" align="bottom"/></div>
</body>
</html>
如此,要做到img在div中能垂直居中。