When I try to run the following
<body>
<div style="width: 400px;height: 1px;background-color: red;position: absolute;bottom: 0;right: 0"></div>
</body>
It d开发者_StackOverflow社区oesn't understand the height of my div in IE6 (also in 5.5).
Is this known bug? And how can I solve it?
It won't create a height/width on it until there's something inside the div.  Try adding   (or any other text) inside the div to get it to adjust properly.
try font-size:0;line-height:0; as well
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论