<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<style type="text/css">...
<!-- 
div {...}{
height:30px;
line-height:30px;
border:1px solid red
}
-->
</style>
<div>web标准常见问题大全</div>
给容器设置一个与其高度相同的行高就可以了
发表于 @ 2008年01月25日 12:50:00 | 评论( loading... ) | 举报| 收藏