<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="Author" content="胡超">
<title>super胡</title>
<style>
div{
background:red;
height:1px;
/*1种.zoom:0.08;缩小0.08倍*/
/*2种.overflow:hidden;*/
/*3种.font-size:0px;*/
}
</style>
</head>
<body>
<div></div>
</body>
</html>

经过反复测试,发现IE6div中最小高度就是页面的字体大小的高度。

相关文章:

  • 2021-11-18
  • 2021-12-09
  • 2022-12-23
  • 2021-06-04
  • 2022-12-23
  • 2021-04-26
  • 2022-01-15
  • 2022-02-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案