1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style> 7 div{ 8 height: 1px; 9 background-color: red; 10 overflow: hidden;<通过overflow:hidden来解决IE6最小像素为19px的问题> 11 } 12 </style> 13 <!-- 14 IE6下最小高度19px 15 解决方案: 16 overflow:hidden; 17 --> 18 </head> 19 <body> 20 <div></div> 21 </body> 22 </html>