[原创]图片实现在div中垂直居中实现方法
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
#head{width:200px;height:100px;margin:0 auto;border:1px solid #000000;}
span.tupian-middle{display:block;text-align:center;margin:20px auto;}
</style>
<div id="head"><span class="tupian-middle"><img src="baidu.jpg" /></span></div>